We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcaa7c7 commit 4068241Copy full SHA for 4068241
.github/workflows/release.yaml
@@ -42,6 +42,14 @@ jobs:
42
env:
43
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44
45
+ - name: Push updates to branch for major version
46
+ if: steps.semantic.outputs.new_release_published == 'true'
47
+ run: |
48
+ git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}
49
+ git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}.${{steps.semantic.outputs.new_release_minor_version}}
50
+ env:
51
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
+
53
docker:
54
runs-on: ubuntu-latest
55
0 commit comments