Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Apr 15, 2024
1 parent 3e8a952 commit 53ea721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/app-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ea721

Please sign in to comment.