Skip to content

Commit

Permalink
chore: add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
desbma-s1n committed Sep 27, 2023
1 parent 12d0212 commit 7997c99
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions release
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -eu

readonly VERSION="${1-$(date +%-Y.%-m.%-d)}"

cargo set-version "${VERSION}"

cargo update

cargo test

git add Cargo.{toml,lock}
git commit -m "chore: version ${VERSION}"

git tag "v${VERSION}"

0 comments on commit 7997c99

Please sign in to comment.