Skip to content

Commit

Permalink
logging versions to see why checks fail (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
beforan authored Jan 12, 2025
1 parent 423ff23 commit 14c916f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
with:
file: pyproject.toml
field: project.version

- name: Parse version from tag
id: version
uses: release-kit/semver@v2

- name: Compare Tag with Source Version
if: ${{ steps.read_version.outputs.value }} != ${{ steps.version.outputs.full }}
run: |
echo "::error::Tag version doesn't match source version"
echo "::error::Tag version '${{ steps.version.outputs.full }}' doesn't match source version '${{ steps.read_version.outputs.value }}'"
exit 1
# check image exists for commit
- uses: tyriis/docker-image-tag-exists@v2.1.0
with:
Expand Down

0 comments on commit 14c916f

Please sign in to comment.