Skip to content

Commit e758dd8

Browse files
committed
feat: add cargo-release tool and document flow
This should allow releasing new versions of the tool easily. Signed-off-by: wucke13 <wucke13+github@gmail.com>
1 parent c2d8edf commit e758dd8

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name = "sysml-v2-sql"
33
version = "0.1.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
6+
description = "Tool to interact with SysML v2 models via SQLite"
7+
documentation = "https://github.com/DLR-FT/sysml-v2-sql"
8+
repository = "https://github.com/DLR-FT/sysml-v2-sql"
9+
610

711
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
812

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ It can:
2525
> assets/SysML-schema.json
2626
cargo run --release -- /dev/null json-schema-to-sql-schema --no-init --dump-sql assets/schema.sql assets/SysML-schema.json
2727
```
28+
- Releasing new version:
29+
1. Check that the new version can be release: `cargo release minor`
30+
2. If you are happy, do the release: `cargo release minor --execute --no-publish`
2831

2932
# License and Copyright
3033

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
cargo-deny
5858
cargo-flamegraph
5959
cargo-llvm-cov
60+
cargo-release
6061
cargo-udeps
6162
clippy
6263
rust-analyzer

0 commit comments

Comments
 (0)