From 9a0c5fe81558f206e4e73db5f21120b6b796a91e Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Thu, 16 May 2024 00:26:20 -0400 Subject: [PATCH] do not add v to tag since it already has v in the tag EXPECTED: `v1.1.0` ACTUAL: `vv1.1.0` --- .github/workflows/app-build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/app-build-and-deploy.yml b/.github/workflows/app-build-and-deploy.yml index 230ce7f..43c57c8 100644 --- a/.github/workflows/app-build-and-deploy.yml +++ b/.github/workflows/app-build-and-deploy.yml @@ -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