From b875b381970d3e808dcef82cd697d09dc24cbb67 Mon Sep 17 00:00:00 2001 From: Doug Anderson444 Date: Tue, 5 Nov 2024 12:10:29 -0400 Subject: [PATCH] add release recipe to justfile --- justfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..746d4c7 --- /dev/null +++ b/justfile @@ -0,0 +1,13 @@ +# justfile for just.systems recipes. + +version := `cat Cargo.toml | grep version | head -n 1 | cut -d '"' -f 2` + +# 1. Create a new tag to trigger a release. +# 2. Push the tag to GitHub. +# 3. GitHub Actions will then build and publish the release. +release-tag: + echo "Releasing version {{version}}" + git tag -a v{{version}} -m "Release version {{version}}" + git push origin v{{version}} + +