File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ ## What
2+
3+ ## Why
4+
5+ ## Notes
6+ <!-- Add any notes here -->
Original file line number Diff line number Diff line change 1+ name-template : ' v$RESOLVED_VERSION'
2+ tag-template : ' v$RESOLVED_VERSION'
3+ change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
4+ change-title-escapes : ' \<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
5+ template : |
6+ ## Changes
7+
8+ $CHANGES
Original file line number Diff line number Diff line change 1+ # # Reference: https://github.com/release-drafter/release-drafter
2+ name : Create Release
3+
4+ on :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ create_release :
11+ name : Create Release
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Set up YQ
20+ uses : frenck/action-setup-yq@v1
21+
22+ - name : Get release version from service.yaml
23+ run : |
24+ RELEASE_VERSION=$(yq eval '.version' service.yaml )
25+ echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
26+
27+ - uses : release-drafter/release-drafter@v5
28+ env :
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ with :
31+ publish : true
32+ version : ${{ env.RELEASE_VERSION }}
33+ config-name : release-drafter.yaml
You can’t perform that action at this time.
0 commit comments