Skip to content

Commit da846ef

Browse files
committed
Add a workflow to automatically bump the v1 branch when publishing a release
1 parent 1fe99df commit da846ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Update the v1 branch when a release is published
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
release:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- run: git push origin HEAD:v1

0 commit comments

Comments
 (0)