diff --git a/.gitignore b/.gitignore index 052f0d0..42493a8 100644 --- a/.gitignore +++ b/.gitignore @@ -357,3 +357,5 @@ target/ *.json !**/assets/*.json .env + +docs/note/ diff --git a/Cargo.lock b/Cargo.lock index 5d715c8..f13d0cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -618,7 +618,7 @@ dependencies = [ [[package]] name = "moyo" -version = "0.1.1" +version = "0.1.2" dependencies = [ "approx", "criterion", @@ -640,7 +640,7 @@ dependencies = [ [[package]] name = "moyopy" -version = "0.1.1" +version = "0.1.2" dependencies = [ "approx", "moyo", diff --git a/Cargo.toml b/Cargo.toml index 358542c..e290341 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ resolver = "2" authors = ["Kohei Shinohara "] description = "Library for Crystal Symmetry in Rust" edition = "2021" -version = "0.1.1" +version = "0.1.2" license = "MIT OR Apache-2.0" repository = "https://github.com/spglib/moyo" @@ -20,3 +20,9 @@ nalgebra = { version = "0.32.3", features = ["serde-serialize"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" approx = "0.5.1" + +[workspace.metadata.release] +allow-branch = ["main"] +shared-version = true +tag-prefix = "" +tag = false diff --git a/moyo/Cargo.toml b/moyo/Cargo.toml index c25286b..dd636cc 100644 --- a/moyo/Cargo.toml +++ b/moyo/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[package.metadata.release] +tag = true + [lib] name = "moyo" diff --git a/moyopy/Cargo.toml b/moyopy/Cargo.toml index 969e410..4c6881f 100644 --- a/moyopy/Cargo.toml +++ b/moyopy/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[package.metadata.release] +release = false + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] name = "moyopy" diff --git a/release.toml b/release.toml deleted file mode 100644 index 78ccaf4..0000000 --- a/release.toml +++ /dev/null @@ -1,4 +0,0 @@ -allow-branch = ["main"] -pre-release-replacements = [ - {file="Cargo.toml", search="version = .*", replace="{{crate_name}} = \"{{version}}\""} -]