From 2a50279f5487036e3748befae4faa0ae5d0f3c50 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 20 Apr 2022 17:30:42 +0100 Subject: [PATCH] Change how version is parsed --- .github/workflows/release-develop.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-develop.yml b/.github/workflows/release-develop.yml index 838867b22d..bf1352db72 100644 --- a/.github/workflows/release-develop.yml +++ b/.github/workflows/release-develop.yml @@ -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: |