Skip to content

Commit

Permalink
Fix make_release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Oct 4, 2024
1 parent e84e738 commit 286e333
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions maintainer/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 286e333

Please sign in to comment.