Skip to content

Commit

Permalink
do not add v to tag since it already has v in the tag
Browse files Browse the repository at this point in the history
EXPECTED: `v1.1.0`
ACTUAL: `vv1.1.0`
  • Loading branch information
elrayle committed May 16, 2024
1 parent 47b6f4d commit 9a0c5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/app-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
if [[ ${{ inputs.deploy-env }} == 'prod' ]]; then
if [[ ${{ needs.determine-trigger.outputs.is-release }} == 'true' ]]; then
# validate the version when triggered by a release
if [[ $version != 'v'${{ github.event.release.tag_name }} ]]; then
if [[ $version != ${{ github.event.release.tag_name }} ]]; then
echo "Version in package-lock.json ($version) does not match the release tag (${{ github.event.release.tag_name }})"
exit 1
fi
Expand Down

0 comments on commit 9a0c5fe

Please sign in to comment.