Skip to content

Commit

Permalink
chore: add bump version script
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodie committed Mar 20, 2022
1 parent 53cdfb4 commit 1cdd537
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions bumpversion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

set -xe

which convco
which cargo-set-version

NEXT_VERSION=`convco version --bump HEAD`

cargo set-version $NEXT_VERSION
git add Cargo.toml
git commit -m "chore: bump version"
git tag v$NEXT_VERSION

convco changelog > CHANGELOG.md
git add CHANGELOG.md
git commit -m "chore: changelog"

0 comments on commit 1cdd537

Please sign in to comment.