diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2082887..25c009ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,13 +26,8 @@ jobs: @semantic-release/git@9.0.0 env: GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }} - -# - name: Push updates to branch for major version -# if: steps.semantic.outputs.new_release_published == 'true' -# run: | -# # git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}} -# git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git :refs/tags/v${{steps.semantic.outputs.new_release_major_version}} -# git tag -f v${{steps.semantic.outputs.new_release_major_version}} -# git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git v${{steps.semantic.outputs.new_release_major_version}} -# env: -# GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }} + GIT_AUTHOR_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }} + GIT_AUTHOR_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }} + GIT_COMMITTER_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }} + GIT_COMMITTER_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }} + DEBUG: "semantic-release:*" diff --git a/.releaserc.yml b/.releaserc.yml index 320e4b32..ea9d6f13 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -9,3 +9,11 @@ plugins: - package.json message: "chore(release): version ${nextRelease.version}\n\n${nextRelease.notes}" - "@semantic-release/github" +branches: + - +([0-9])?(.{+([0-9]),x}).x + - main + - next + - name: beta + prerelease: true + - name: alpha + prerelease: true