Skip to content

Commit

Permalink
add release recipe to justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Nov 5, 2024
1 parent cf90338 commit b875b38
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -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}}


0 comments on commit b875b38

Please sign in to comment.