Fix preprod stale deploy (#10034)

This commit is contained in:
Rory Powell 2023-03-15 10:13:02 +00:00 committed by GitHub
parent 8b0841cb4f
commit 931c295c9a
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ jobs:
id: version id: version
run: | run: |
if [ -z "${{ github.event.inputs.version }}" ]; then if [ -z "${{ github.event.inputs.version }}" ]; then
git pull
release_version=$(cat lerna.json | jq -r '.version') release_version=$(cat lerna.json | jq -r '.version')
else else
release_version=${{ github.event.inputs.version }} release_version=${{ github.event.inputs.version }}

View File

@ -134,6 +134,7 @@ jobs:
- name: Get the latest budibase release version - name: Get the latest budibase release version
id: version id: version
run: | run: |
git pull
release_version=$(cat lerna.json | jq -r '.version') release_version=$(cat lerna.json | jq -r '.version')
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV