Skip to content

Commit

Permalink
Fix version match safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
Eranziel committed Jun 3, 2024
1 parent 9fce095 commit 2761024
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ jobs:
# Verify correct naming
- name: Verify correct naming
env:
PACKAGE_VERSION: ${{ steps.manifest.outputs.version }}
run: |
if [[ ! ${{ steps.vars.outputs.version }} == v$PACKAGE_VERSION ]]; then
if [[ ! v${{ steps.vars.outputs.version }} == ${{ steps.vars.outputs.tag_name }} ]]; then
echo "The system.json version does not match tag name."
echo "system.json: $PACKAGE_VERSION"
echo "tag name: ${{ steps.vars.outputs.tag_name }}"
Expand Down

0 comments on commit 2761024

Please sign in to comment.