File tree Expand file tree Collapse file tree 3 files changed +86
-0
lines changed
Expand file tree Collapse file tree 3 files changed +86
-0
lines changed Original file line number Diff line number Diff line change 1+ name-template : " Release v$RESOLVED_VERSION 🦀"
2+ tag-template : " v$RESOLVED_VERSION"
3+ categories :
4+ - title : " 🚀 Features"
5+ label : " feature"
6+ - title : " 🐛 Bug Fixes"
7+ label : " bug"
8+ - title : " ♻️ Refactor"
9+ label : " refactor"
10+ - title : " 📝 Documentation"
11+ label : " documentation"
12+ - title : " 🧰 Maintenance"
13+ labels :
14+ - " chore"
15+ - " dependencies"
16+ change-template : " - $TITLE @$AUTHOR (#$NUMBER)"
17+ change-title-escapes : ' \<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
18+ version-resolver :
19+ major :
20+ labels :
21+ - " major"
22+ minor :
23+ labels :
24+ - " minor"
25+ patch :
26+ labels :
27+ - " patch"
28+ default : patch
29+ template : |
30+ ## Changes
31+
32+ $CHANGES
33+ autolabeler :
34+ - label : feature
35+ branch :
36+ - " /^feat(ure)?[/-].+/"
37+ - label : bug
38+ branch :
39+ - " /^fix[/-].+/"
40+ - label : refactor
41+ branch :
42+ - " /(refactor|refactoring)[/-].+/"
43+ - label : documentation
44+ branch :
45+ - " /doc(s|umentation)[/-].+/"
46+ - label : chore
47+ branch :
48+ - " /^chore[/-].+/"
Original file line number Diff line number Diff line change 1+ name : Cargo Publish
2+
3+ on :
4+ workflow_dispatch :
5+ release :
6+ types : [published]
7+
8+ env :
9+ CARGO_TERM_COLOR : always
10+
11+ jobs :
12+ publish :
13+ name : Publish to crate.io
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ - run : cargo publish
18+ env :
19+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release Drafter
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ pull_request :
9+ types : [opened, reopened, synchronize]
10+
11+ jobs :
12+ update_release_draft :
13+ permissions :
14+ contents : write
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : release-drafter/release-drafter@v5
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments