Skip to content

Commit

Permalink
👷 misc(CI): remove manual publish steps
Browse files Browse the repository at this point in the history
release.yml takes care of it now <3
  • Loading branch information
welpo committed Feb 5, 2024
1 parent a29cbb1 commit 49b016b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,8 @@ git show $VERSION_TAG
echo

echo "Release $VERSION_TAG is ready. Don't forget to push the changes and the tag:"
echo "git push && git push --tags"
echo
echo "Once that's done, you should see your tag on GitHub:"

remote_url=$(git remote get-url origin)

# Check if the URL is in SSH format (git@).
if [[ "$remote_url" == git@github.com:* ]]; then
https_url="https://github.com/${remote_url#git@github.com:}"
Expand All @@ -135,10 +131,4 @@ else
https_url="${remote_url%.git}"
fi

echo "${https_url}/tags"

echo "To publish on crates.io, run:"
echo "cargo publish"
echo
echo "To publish on PyPI, run:"
echo "cd pypi && maturin publish --frozen"
echo "git push && git push --tags && open ${https_url}/tags"

0 comments on commit 49b016b

Please sign in to comment.