Skip to content

Commit c953902

Browse files
authored
Merge pull request #1245 from cryspen/cargo-release-config
Release hax v0.1.0
2 parents 36cae3d + 5723687 commit c953902

File tree

5 files changed

+33
-27
lines changed

5 files changed

+33
-27
lines changed

Cargo.lock

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+10-10
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ default-members = [
3232
resolver = "2"
3333

3434
[workspace.package]
35-
version = "0.1.0-rc.1"
35+
version = "0.1.0"
3636
authors = ["hax Authors"]
3737
license = "Apache-2.0"
3838
homepage = "https://github.com/hacspec/hax"
@@ -71,14 +71,14 @@ colored = "2"
7171
annotate-snippets = "0.11"
7272

7373
# Crates in this repository
74-
hax-frontend-exporter = { path = "frontend/exporter", version = "=0.1.0-rc.1", default-features = false }
75-
hax-adt-into = { path = "frontend/exporter/adt-into", version = "=0.1.0-rc.1" }
76-
hax-frontend-exporter-options = { path = "frontend/exporter/options", version = "=0.1.0-rc.1" }
77-
hax-lib-macros = { path = "hax-lib/macros", version = "=0.1.0-rc.1" }
78-
hax-lib-macros-types = { path = "hax-lib/macros/types", version = "=0.1.0-rc.1" }
79-
hax-lib = { path = "hax-lib", version = "=0.1.0-rc.1" }
80-
hax-engine-names = { path = "engine/names", version = "=0.1.0-rc.1" }
81-
hax-types = { path = "hax-types", version = "=0.1.0-rc.1" }
74+
hax-frontend-exporter = { path = "frontend/exporter", version = "=0.1.0", default-features = false }
75+
hax-adt-into = { path = "frontend/exporter/adt-into", version = "=0.1.0" }
76+
hax-frontend-exporter-options = { path = "frontend/exporter/options", version = "=0.1.0" }
77+
hax-lib-macros = { path = "hax-lib/macros", version = "=0.1.0" }
78+
hax-lib-macros-types = { path = "hax-lib/macros/types", version = "=0.1.0" }
79+
hax-lib = { path = "hax-lib", version = "=0.1.0" }
80+
hax-engine-names = { path = "engine/names", version = "=0.1.0" }
81+
hax-types = { path = "hax-types", version = "=0.1.0" }
8282

8383
[workspace.metadata.release]
84-
owners = ["github:hacspec:crates"]
84+
owners = ["github:hacspec:crates"]

PUBLISHING.md

+6
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ Note: for now, we are not publishing to Opam. Instead, let's just advertise the
5858
opam pin hax-engine https://github.com/hacspec/hax.git#the-release-tag
5959
opam install hax-engine
6060
```
61+
62+
## Notes
63+
`cargo release` reads the `Cargo.toml` of each crates of the workspace.
64+
Some creates are excluded from releasing: in their `Cargo.toml` manifest, they have `package.metadata.release.release` set to `false`.
65+
66+
Also, `cli/subcommands/Cargo.toml` specifies pre-release replacements for the engine: the version of the engine is bumped automatically by `cargo release`.

engine/dune-project

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(name hax-engine)
44

5-
(version 0.1.0-rc.1)
5+
(version 0.1.0)
66

77
(generate_opam_files true)
88

engine/hax-engine.opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.1.0-rc.1"
3+
version: "0.1.0"
44
synopsis: "The engine of hax, a Rust verification tool"
55
description:
66
"Hax is divided in two: a frontend (written in Rust) and an engine (written in OCaml). This is the engine."

0 commit comments

Comments
 (0)