File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed
Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ * @ oknozor
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : cargo
4+ directory : /
5+ schedule :
6+ interval : daily
7+ time : " 14:05"
8+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ workflow_dispatch :
5+ branches : main
6+
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+ name : Perform release
11+
12+ steps :
13+ - name : Checkout sources
14+ uses : actions/checkout@v2
15+ with :
16+ submodules : recursive
17+ fetch-depth : 0
18+
19+ - name : Install stable toolchain
20+ uses : actions-rs/toolchain@v1
21+ with :
22+ profile : minimal
23+ toolchain : stable
24+ override : true
25+ components : rustfmt, clippy
26+
27+ - name : Add gpg test key pair
28+ run : |
29+ gpg --import tests/gpg/public.gpg
30+ gpg --import tests/gpg/private.gpg
31+ echo -e "5\ny\n" | gpg --no-tty --command-fd 0 --expert --edit-key [email protected] trust 32+
33+ # version publish steps are managed by cocogitto, see `cog.toml`
34+ # and https://github.com/oknozor/cocogitto-action for more info
35+ - name : Semver release
36+ id : release
37+ 38+ with :
39+ release : true
40+ check-latest-tag-only : true
41+
42+ - name : Generate Changelog
43+ run : cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
44+
45+ - name : Upload github release
46+ uses : softprops/action-gh-release@v1
47+ with :
48+ body_path : GITHUB_CHANGELOG.md
49+ tag_name : ${{ steps.release.outputs.version }}
You can’t perform that action at this time.
0 commit comments