Update publish-all so it commits on a different branch.

This allows to open a PR for the changes to be submitted on the
repository, instead of silently pushing to master.
This commit is contained in:
Benjamin Bouvier
2019-10-22 15:34:42 +02:00
committed by Dan Gohman
parent 52fb94d24c
commit 6de45ff8fc

View File

@@ -33,9 +33,11 @@ cargo update
# #
# Note that libraries need to be published in topological order. # Note that libraries need to be published in topological order.
echo git checkout -b bump-version-to-$version
echo git commit -a -m "\"Bump version to $version"\" echo git commit -a -m "\"Bump version to $version"\"
echo git tag v$version echo git tag v$version
echo git push echo git push origin bump-version-to-$version
echo "# Don't forget to click the above link to open a pull-request!"
echo git push origin v$version echo git push origin v$version
for crate in \ for crate in \
entity bforest codegen/shared codegen/meta codegen frontend native \ entity bforest codegen/shared codegen/meta codegen frontend native \