Skip to content

Commit

Permalink
versioned release workflow - fixing version comparison check (#20)
Browse files Browse the repository at this point in the history
* possibly fixing version comparison

* removing test triggering
  • Loading branch information
beforan authored Jan 12, 2025
1 parent 14c916f commit bb2f3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
id: version
uses: release-kit/semver@v2

- name: Compare Tag with Source Version
if: ${{ steps.read_version.outputs.value }} != ${{ steps.version.outputs.full }}
- name: Fail on Version Mismatch
if: ${{ steps.read_version.outputs.value != steps.version.outputs.full }}
run: |
echo "::error::Tag version '${{ steps.version.outputs.full }}' doesn't match source version '${{ steps.read_version.outputs.value }}'"
exit 1
Expand Down

0 comments on commit bb2f3f4

Please sign in to comment.