File tree Expand file tree Collapse file tree 2 files changed +37
-3
lines changed
Expand file tree Collapse file tree 2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 7272 branch : update-version
7373 branch-suffix : random
7474 signoff : true
75- labels : release
76-
77-
75+ labels : release
Original file line number Diff line number Diff line change 1+ name : Tag Release After PR Merge
2+
3+ on :
4+ push :
5+ branches :
6+ - ' release-*'
7+ paths :
8+ - ' VERSION'
9+
10+ jobs :
11+ trigger-release :
12+ permissions :
13+ contents : write
14+ name : Automatically Tag Release ${{ github.ref_name }} Branch
15+ runs-on : ubuntu-22.04
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ token : ${{ secrets.GITHUB_TOKEN }}
22+ ref : ${{ github.ref }}
23+
24+ - name : Setup Git author information
25+ run : |
26+ git config --global user.email '[email protected] ' 27+ git config --global user.name 'CI'
28+
29+ - name : Determine Version
30+ run : |
31+ VERSION=$(cat VERSION)
32+ echo "VERSION=${VERSION}" >> $GITHUB_ENV
33+
34+ - name : Trigger Release Script
35+ run : |
36+ bash hack/trigger-release.sh v${{ env.VERSION }} origin
You can’t perform that action at this time.
0 commit comments