Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Dec 8, 2022
1 parent 0badd44 commit 0cfb52d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ sed -i "s|$OLDVERSION|$NEWVERSION|" Cargo.toml
# update lockfile
cargo build

exit
# Commit and tag the update
git add Cargo.toml Cargo.lock
git commit -m "v${VERSION}"
git commit -m "v${NEWVERSION}"
git push origin $(git branch --show-current)
gh release create v${VERSION} -t v${VERSION} -n Pre-release --target $(git branch --show-current) -p
gh release create v${NEWVERSION} -t v${NEWVERSION} --target $(git branch --show-current) --generate-notes

0 comments on commit 0cfb52d

Please sign in to comment.