Skip to content

Commit

Permalink
build: add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck committed Apr 17, 2024
1 parent ca662f2 commit 47d17dc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
git cz bump --files-only

VERSION=$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "exon") | .version')
echo "Releasing v$VERSION"

sleep 1

git add -u .
git commit -m "release: bump to version v$VERSION"
git tag -a v$VERSION -m "release: v$VERSION"

git push origin main
git push origin v$VERSION

0 comments on commit 47d17dc

Please sign in to comment.