From 702dfaf3140478e68f33f7f5026eaf549d144928 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Tue, 25 Jul 2023 08:43:06 +0200 Subject: [PATCH] chore: build release on `next` branch (#6266) --- .github/workflows/build.yml | 2 ++ .github/workflows/release.yml | 4 ++-- .releaserc.js | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 192beb3d64..d316c378b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,8 @@ on: permissions: contents: write packages: write + issues: write + pull-requests: write jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f23e7bcb8..be673af021 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: uses: ./.github/workflows/version.yml with: semantic_version: ${{ inputs.semantic_version }} - dry_run: true + dry_run: false docker: runs-on: ubuntu-22.04 @@ -65,7 +65,7 @@ jobs: ${{ inputs.image }} - name: Publish latest - if: ${{ github.ref_name == 'main' }} + if: ${{ github.ref_name == 'next' }} run: | docker buildx imagetools create \ --tag ${{ inputs.image_name }}:latest \ diff --git a/.releaserc.js b/.releaserc.js index e52557bc60..e47c761db9 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -1,8 +1,7 @@ module.exports = { branches: [ - { name: "main" }, { name: "next" }, - { name: "ci/improve-make", prerelease: "2.29-ignore-me" } + { name: "next-rc", prerelease: "rc" } ], plugins: [ "@semantic-release/commit-analyzer",