From 9b360d756ced21377dce7aea43c108ddf846cdd6 Mon Sep 17 00:00:00 2001 From: mkosir Date: Fri, 15 Nov 2024 16:30:40 +0100 Subject: [PATCH] chore(deps): update dependencies --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 928a169..4bef52b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,8 +28,8 @@ jobs: - name: REMOVE run: | - npx semantic-release --dry-run - NEXT_VERSION=$(npx semantic-release --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+') + npx semantic-release --branches main --dry-run + NEXT_VERSION=$(npx semantic-release --branches main --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+') echo "Next version: $NEXT_VERSION" - name: Build 🏗️ @@ -114,7 +114,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - npx semantic-release --dry-run + npx semantic-release --branches main --dry-run VERSION_SPACES=$(bun run release --dry-run | grep -oP 'Published release \K.*? ') VERSION="${VERSION_SPACES// /}" echo "export const VERSION_INFO = 'v$VERSION';" > $FILE_PATH_VERSION_INFO