Change how version is parsed
This commit is contained in:
parent
5b1db40dac
commit
2a50279f54
|
@ -70,9 +70,11 @@ jobs:
|
||||||
# echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
# echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
||||||
# yarn release:develop
|
# yarn release:develop
|
||||||
|
|
||||||
- name: 'Get Previous tag'
|
- name: Get the latest budibase release version
|
||||||
id: previoustag
|
id: version
|
||||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
run: |
|
||||||
|
release_version=$(cat lerna.json | jq -r '.version')
|
||||||
|
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Publish @budibase/pro package to NPM
|
- name: Publish @budibase/pro package to NPM
|
||||||
env:
|
env:
|
||||||
|
@ -83,7 +85,7 @@ jobs:
|
||||||
git config user.email "<>"
|
git config user.email "<>"
|
||||||
cd ../budibase-pro
|
cd ../budibase-pro
|
||||||
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
||||||
yarn release:develop $VERSION
|
yarn release:develop $RELEASE_VERSION
|
||||||
|
|
||||||
# - name: Build/release Docker images
|
# - name: Build/release Docker images
|
||||||
# run: |
|
# run: |
|
||||||
|
|
Loading…
Reference in New Issue