Skip to content

Commit

Permalink
fix: release process
Browse files Browse the repository at this point in the history
  • Loading branch information
bellackn committed May 1, 2024
1 parent 5a80b8c commit 9adbf04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ release version: lint test
read -n 1 -s -r -p "you're about to release {{version}} - press any button to continue"
echo 'updating version in Cargo.toml to {{version}}'
sed -i -e 's/^version = ".*"$/version = "{{version}}"/' Cargo.toml
cargo publish
echo 'successfully published crate'
echo 'committing changes'
git add .
git commit -m 'feat: update crate to version {{version}}'
git tag -a -s -m 'Release of version {{version}}; see CHANGELOG.md' {{version}}
git push
git push --tags
cargo publish
echo 'successfully published crate'

0 comments on commit 9adbf04

Please sign in to comment.