From 4526a661b32c207631715145ce5d9606578b47c9 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Wed, 27 Nov 2024 15:34:53 +0000 Subject: [PATCH] 0.2.0-dev (#64) * 0.2.0-dev * update dependencies --- Cargo.toml | 6 +++--- RELEASE.md | 14 ++++++-------- pyproject.toml | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e27f132..a2b30ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ default = ["sleef"] [package] name = "ndelement" -version = "0.2.0" +version = "0.2.0-dev" edition = "2021" authors = ["Matthew Scroggs "] description = "n-dimensional finite element definition library." @@ -23,7 +23,7 @@ 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" @@ -31,7 +31,7 @@ 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.*" diff --git a/RELEASE.md b/RELEASE.md index d45a2a3..6304c05 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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` diff --git a/pyproject.toml b/pyproject.toml index 621cca7..8ffcca4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"