Skip to content

Commit

Permalink
Fix release script (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Sep 26, 2022
1 parent 469f3ae commit 1da4e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ publish:
set -euxo pipefail
rm -rf tmp/release
git clone [email protected]:casey/ord.git tmp/release
VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1`
cd tmp/release
VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1`
git tag -a $VERSION -m "Release $VERSION"
git push origin $VERSION
cargo publish
Expand Down

0 comments on commit 1da4e75

Please sign in to comment.