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 99e2bf4 commit e6a2dea
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 @@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit e6a2dea

Please sign in to comment.