Skip to content

Commit

Permalink
0.2.0-dev (#64)
Browse files Browse the repository at this point in the history
* 0.2.0-dev

* update dependencies
  • Loading branch information
mscroggs authored Nov 27, 2024
1 parent 3a39a74 commit 4526a66
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default = ["sleef"]

[package]
name = "ndelement"
version = "0.2.0"
version = "0.2.0-dev"
edition = "2021"
authors = ["Matthew Scroggs <[email protected]>"]
description = "n-dimensional finite element definition library."
Expand All @@ -23,15 +23,15 @@ name = "ndelement"
crate-type = ["lib", "cdylib"]

[dependencies]
bempp-quadrature = { git = "https://github.com/bempp/quadrature.git" }
bempp-quadrature = { version = "0.1.0" }
itertools = "0.13.*"
mpi = { version = "0.8.*", optional = true }
num = "0.4"
rlst = { version = "0.2.0", default-features = false }
serde = { version = "1", features = ["derive"], optional = true }
strum = "0.26"
strum_macros = "0.26"
c-api-tools = { git = "https://github.com/bempp/c-api-tools.git" }
c-api-tools = { version = "0.1.0" }

[dev-dependencies]
paste = "1.*"
Expand Down
14 changes: 6 additions & 8 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,18 @@ To make a new release of ndelement, follow the following steps:

3) Update the version number in the "Using ndelement" section of README.md.

4) Commit your changes and push to GitHub, open a pull request to merge changes back into main, and merge the
4) Run `cargo publish --dry-run` and fix any errors.

5) Commit your changes and push to GitHub, open a pull request to merge changes back into main, and merge the
pull request.

5) [Create a release on GitHub](https://github.com/bempp/ndelement/releases/new) from the `main` branch.
6) [Create a release on GitHub](https://github.com/bempp/ndelement/releases/new) from the `main` branch.
The release tag and title should be `v[x].[y].[z]` (where `[x]`, `[y]` and `[z]` are as in step 2).
In the "Describe this release" box, you should bullet point the main changes since the last
release.

6) Run `cargo publish --dry-run`, then run `cargo package --list` and
check that no unwanted extras have been included in the release.

7) If everything is working as expected, run `cargo publish`. This will push the new version to
crates.io. Note: this cannot be undone, but you can use `cargo yank` to mark a version as
unsuitable for use.
7) Run `cargo publish`. This will push the new version to crates.io.
Note: this cannot be undone, but you can use `cargo yank` to mark a version as unsuitable for use.

8) Open a pull request to `main` to update the version numbers in `Cargo.toml` and `pyproject.toml`
to `[x].[y].[z]-dev`
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "ndelement"
version = "0.2.0"
version = "0.2.0-dev"
description = "n-dimensional finite element definition library."
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit 4526a66

Please sign in to comment.