diff --git a/.github/workflows/app-build-and-deploy.yml b/.github/workflows/app-build-and-deploy.yml index 42b79ea..8c7d94e 100644 --- a/.github/workflows/app-build-and-deploy.yml +++ b/.github/workflows/app-build-and-deploy.yml @@ -57,10 +57,10 @@ jobs: id: get_version shell: bash run: | - version='v'$(jq -r '.version' ../../package-lock.json) # e.g. v1.2.0 + version='v'$(jq -r '.version' package-lock.json) # e.g. v1.2.0 if [[ ${{ inputs.deploy-env }} != 'prod' ]]; then short_sha=$(echo "${{ github.sha }}" | cut -c 1-10) - version=$version'+dev:'$short_sha # e.g. v1.2.0+dev:1234567890 + version=$version'+dev:'$short_sha # e.g. v1.2.0+dev:1234567890 fi # validate the version when triggered by a release