From 286e333368fbb4b45cc5d7f1c1e75aa4dc2d2e5e Mon Sep 17 00:00:00 2001 From: Christopher Schwan Date: Fri, 4 Oct 2024 17:57:17 +0200 Subject: [PATCH] Fix `make_release.sh` --- maintainer/make-release.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maintainer/make-release.sh b/maintainer/make-release.sh index 74ce4942..bdee097b 100755 --- a/maintainer/make-release.sh +++ b/maintainer/make-release.sh @@ -72,12 +72,6 @@ for feature in ${features[@]}; do cargo test --release --features=${feature} done -echo ">>> Testing if 'pineappl' can be published ..." - -cd pineappl -cargo publish --dry-run -cd .. - echo ">>> Updating version strings ..." # we don't want to create a changelog entry for prereleases, which are solely @@ -107,6 +101,12 @@ echo ">>> Updating Cargo.lock ..." echo ${crates[@]} | xargs printf ' -p %s' | xargs cargo update git add Cargo.lock +echo ">>> Testing if 'pineappl' can be published ..." + +cd pineappl +cargo publish --dry-run +cd .. + echo ">>> Commiting and pushing changes ..." git commit -m "Release v${version}"