Skip to content

Commit

Permalink
Update version_control.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gab706 committed Feb 9, 2024
1 parent f823b65 commit 06dd36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/version_control.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Check if Latest Tag Matches Package Version
id: version_check
run: |
version_match="${{ env.package_version == 'v' + env.latest_tag }}"
version_match="${{ env.package_version == 'v${{ env.latest_tag }}' }}"
echo "version_match=${version_match}" >> $GITHUB_ENV
if [[ $version_match == 'true' ]]; then
echo "Skipping release creation as the latest tag matches the version in package.json."
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Check if Latest Tag Matches Package Version
id: check_version
run: |
version_match="${{ env.package_version == 'v' + env.latest_tag }}"
version_match="${{ env.package_version == 'v${{ env.latest_tag }}' }}"
echo "version_match=${version_match}" >> $GITHUB_ENV
if [[ $version_match == 'true' ]]; then
echo "Skipping NPM deploy as the latest tag matches the version in package.json."
Expand Down

0 comments on commit 06dd36d

Please sign in to comment.