From 353bbc3d58a178577159d4ba9041719af0fcd63b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 13 Sep 2021 11:40:18 +0200 Subject: [PATCH] chore: make pre-releases from next branch --- .github/workflows/nodejs.yml | 2 +- package.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2565c387a..779bb284f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -134,7 +134,7 @@ jobs: release: if: # prettier-ignore - ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }} + ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }} name: Release new version needs: [prettier, typecheck, test-node, test-os] runs-on: ubuntu-latest diff --git a/package.json b/package.json index b98313669..9c1c38a3e 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,11 @@ }, "release": { "branches": [ - "main" + "main", + { + "name": "next", + "prerelease": true + } ], "plugins": [ "@semantic-release/commit-analyzer",