We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b81484 commit 9acacefCopy full SHA for 9acacef
.github/workflows/release-on-merge-to-main.yml
@@ -25,3 +25,8 @@ jobs:
25
@semantic-release/changelog
26
@semantic-release/git
27
@semantic-release/github
28
+ - name: Push updates to branch for major version
29
+ if: steps.semantic.outputs.new_release_published == 'true'
30
+ run: "git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}"
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments