From e6a2dea855a10c9ef7cd7868815758a9c4b261af 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 2ec56519..074c9dfa 100755 --- a/maintainer/make-release.sh +++ b/maintainer/make-release.sh @@ -62,12 +62,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 @@ -97,6 +91,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}"