diff --git a/Cargo.lock b/Cargo.lock index de476ae..df73bcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,7 +226,7 @@ dependencies = [ [[package]] name = "sabre-lang" -version = "0.1.0" +version = "0.1.1" dependencies = [ "rust-embed", "structopt", diff --git a/Cargo.toml b/Cargo.toml index 7e0897c..95cbe5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,17 @@ [package] name = "sabre-lang" -version = "0.1.0" +version = "0.1.1" authors = ["Garrit Franke "] +description = "The sabre programming language" +license = "Apache-2.0" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[[bin]] +name = "sabre" +path = "src/main.rs" + [features] backend_c = [] backend_node = [] diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 0576cb3..8ca08ae 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -10,3 +10,4 @@ - [Developer Resources](./developers/SUMMARY.md) - [Contributing to Sabre](./developers/contributing.md) - [Compiler Backends](./developers/backends.md) + - [Release Workflow](./developers/releasing.md) diff --git a/docs/developers/releasing.md b/docs/developers/releasing.md new file mode 100644 index 0000000..899cc00 --- /dev/null +++ b/docs/developers/releasing.md @@ -0,0 +1,7 @@ +# Release Workflow + +1. Update version in `Cargo.toml` +2. Commit change with a meaningful message (`v0.1.1`) +3. Tag commit using `git tag -a -m "$(git shortlog ..HEAD)"` +4. Push the tag using `git push --tags` +5. Publish package using `cargo publish`