Skip to content

Commit e8510d0

Browse files
ci: push the release commit to main branch for stable releases
1 parent ae47c49 commit e8510d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
if: ${{ inputs.type == 'stable' }}
4848
- run: git tag "${{ steps.generate-tag.outputs.TAG_NAME }}"
4949
- run: git push origin "${{ steps.generate-tag.outputs.TAG_NAME }}"
50+
- run: git push origin HEAD:main
51+
if: ${{ inputs.type == 'stable' }}
5052

5153
# For nightly releases, we just build and publish npm packages
5254
release-nightly-npm-packages:

0 commit comments

Comments
 (0)