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}} + +