From 1da4e75c2a0cad335c9bf5c24fd5d02888a01440 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 26 Sep 2022 11:17:13 -0700 Subject: [PATCH] Fix release script (#562) --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 1029c4bce2..2833db119f 100644 --- a/justfile +++ b/justfile @@ -80,8 +80,8 @@ publish: set -euxo pipefail rm -rf tmp/release git clone git@github.com: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