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
|
||||
# yarn release:develop
|
||||
|
||||
- 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: Publish @budibase/pro package to NPM
|
||||
env:
|
||||
|
@ -83,7 +85,7 @@ jobs:
|
|||
git config user.email "<>"
|
||||
cd ../budibase-pro
|
||||
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
||||
yarn release:develop $VERSION
|
||||
yarn release:develop $RELEASE_VERSION
|
||||
|
||||
# - name: Build/release Docker images
|
||||
# run: |
|
||||
|
|
Loading…
Reference in New Issue