File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 12
12
CARGO_INCREMENTAL : " 1"
13
13
# https://nexte.st/book/pre-built-binaries.html#using-nextest-in-github-actions
14
14
CARGO_TERM_COLOR : always
15
- # The package name to be used to publish on crates.io
16
- PACKAGE_NAME : stubs_rust
17
15
# Rust version to use to build
18
16
RUST_VERSION : " 1.69"
19
17
# OCaml version to use to build
52
50
run :
53
51
|
54
52
eval $(opam env)
55
- cargo publish -p ${{ env.PACKAGE_NAME }} --token ${CRATES_IO_TOKEN}
53
+ cargo publish -p ocaml-gen --manifest-path ocaml-gen/Cargo.toml --token ${CRATES_IO_TOKEN}
54
+ cargo publish -p ocaml-gen-derive --manifest-path ocaml-gen/derive/Cargo.toml --token ${CRATES_IO_TOKEN}
56
55
env :
57
56
CRATES_IO_TOKEN : ${{ secrets.CRATES_IO_TOKEN }}
Original file line number Diff line number Diff line change @@ -57,3 +57,13 @@ to rely on `dune` to update the file. You will need to commit it to make the CI
57
57
## Additional resources
58
58
59
59
You can check the [ recording] ( https://www.youtube.com/watch?v=LuXo2cNkgyA&feature=youtu.be ) I made when I first introduced the tool internally.
60
+
61
+ ## Publish a new release
62
+
63
+ An automatic release is set up with GitHub actions. To make a new release of
64
+ ocaml-gen and ocaml-gen-derive:
65
+
66
+ 1 . Change the version of ` ocaml-gen-derive ` in ` ocaml-gen/Cargo.toml ` to the new
67
+ release version.
68
+ 2 . Create a tag with ` git tag -m "VERSION" -a "x.y.z" `
69
+ 3 . Push the tag with ` git push --tags `
You can’t perform that action at this time.
0 commit comments