using lerna version in preprod job
This commit is contained in:
parent
89ce9c8e88
commit
5eb2724e7f
|
@ -23,9 +23,11 @@ jobs:
|
|||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: eu-west-1
|
||||
|
||||
- name: 'Get Previous tag'
|
||||
id: previoustag
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
- name: Get the latest budibase release version
|
||||
id: version
|
||||
run: |
|
||||
release_version=$(cat lerna.json | jq -r '.version')
|
||||
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
||||
|
||||
# - name: Pull values.yaml from budibase-infra
|
||||
# run: |
|
||||
|
@ -43,7 +45,7 @@ jobs:
|
|||
token: ${{ github.token }}
|
||||
values: |
|
||||
globals:
|
||||
appVersion: ${{ steps.previoustag.outputs.tag }}
|
||||
appVersion: v${{ env.RELEASE_VERSION }}
|
||||
# value-files: >-
|
||||
# [
|
||||
# "charts/budibase/values.yaml"
|
||||
|
|
Loading…
Reference in New Issue