From 2e0ec92400e86f272f643a3ce4e2a51398426e60 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Mon, 31 Oct 2022 22:32:15 -0500 Subject: [PATCH] fix: fix version in built files --- .github/workflows/test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1050115f..135e5d8f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,11 +72,8 @@ jobs: - name: Install Dependencies run: yarn - name: Build 🗜️ - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - SEMANTIC_RELEASE_NEXT_VERSION=$(npx semantic-release --no-ci --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+') + export SEMANTIC_RELEASE_NEXT_VERSION=$(npx semantic-release --no-ci --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+') echo "Next Version: $SEMANTIC_RELEASE_NEXT_VERSION" yarn run build if ! git diff --quiet; then @@ -90,4 +87,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx semantic-release + run: echo npx semantic-release