Fix preprod stale deploy (#10034)
This commit is contained in:
parent
8b0841cb4f
commit
931c295c9a
|
@ -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 }}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue