File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ # To trigger this:
2
+ # - go to Actions > Publish
3
+ # - click the Run Workflow dropdown in the top-right
4
+ name : Publish
5
+ on : workflow_dispatch
6
+ env :
7
+ CRATES_TOKEN : ${{ secrets.CRATES_TOKEN }}
8
+ jobs :
9
+ cargo-publish :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout sources
13
+ uses : actions/checkout@v3
14
+ - name : Install stable toolchain
15
+ uses : dtolnay/rust-toolchain@master
16
+ with :
17
+ toolchain : stable
18
+ - name : Publish bindgen (lib)
19
+ run : cargo publish --package bindgen --token ${CRATES_TOKEN}
20
+ - name : Publish bindgen-cli
21
+ run : cargo publish --package bindgen-cli --token ${CRATES_TOKEN}
Original file line number Diff line number Diff line change @@ -564,8 +564,9 @@ important fix) you can skip this.
564
564
Once you're in the right branch, do:
565
565
566
566
```
567
- cargo release [patch|minor] --execute
567
+ cargo release [patch|minor] --no-publish -- execute
568
568
```
569
+
569
570
This does the following:
570
571
571
572
- Tag (` git tag ` ) the HEAD commit
You can’t perform that action at this time.
0 commit comments