File tree 3 files changed +42
-9
lines changed
3 files changed +42
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ permissions :
4
+ pull-requests : write
5
+ contents : write
6
+
7
+ on :
8
+ workflow_dispatch :
9
+ push :
10
+ branches :
11
+ - main
12
+
13
+ jobs :
14
+ release-plz :
15
+ name : Release-plz
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout repository
19
+ uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 0
22
+ - name : Install Rust toolchain
23
+ uses : dtolnay/rust-toolchain@stable
24
+ - name : Run release-plz
25
+ uses : MarcoIeni/release-plz-action@v0.5
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change @@ -41,9 +41,14 @@ Then :
41
41
- copy trace_id from log (or response header)
42
42
- paste into Jaeger web UI
43
43
44
+
44
45
## To release
45
46
47
+ Use the github workflow ` release ` .
48
+
49
+ <!--
46
50
```sh
47
51
#cargo ws publish --tag-prefix "" "prepatch" --all --no-individual-tags
48
52
just release "minor"
49
53
```
54
+ -->
Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ tinstall_cst: _install_cargo-nextest _install_cargo-insta
35
35
cargo nextest run
36
36
cargo test --doc
37
37
38
- changelog : _install_git-cliff
39
- git-cliff -o " CHANGELOG.md"
40
- git add CHANGELOG.md && git commit -m " 📝 update CHANGELOG"
41
-
42
- release * arguments : _install_cargo-release _install_git-cliff
43
- cargo release --workspace --execute {{ arguments }}
44
- # git-cliff could not be used as `pre-release-hook` of cargo-release because it uses tag
45
- git-cliff -o " CHANGELOG.md"
46
- git add CHANGELOG.md && git commit -m " 📝 update CHANGELOG" && git push
38
+ # changelog: _install_git-cliff
39
+ # git-cliff -o "CHANGELOG.md"
40
+ # git add CHANGELOG.md && git commit -m "📝 update CHANGELOG"
41
+
42
+ # release *arguments: _install_cargo-release _install_git-cliff
43
+ # cargo release --workspace --execute {{ arguments }}
44
+ # # git-cliff could not be used as `pre-release-hook` of cargo-release because it uses tag
45
+ # git-cliff -o "CHANGELOG.md"
46
+ # git add CHANGELOG.md && git commit -m "📝 update CHANGELOG" && git push
47
47
48
48
_ container * arguments :
49
49
if [ -x " $(command -v podman)" ]; then \
You can’t perform that action at this time.
0 commit comments