From 11b76b66b436aced1cf76226967dac27c2f179f9 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Tue, 2 Apr 2024 19:52:49 +0100 Subject: [PATCH] Release script improvements --- RELEASE.rst | 8 +------- release.sh | 3 +++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/RELEASE.rst b/RELEASE.rst index a2294ef..dcbe2c3 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -1,7 +1,7 @@ Release process =============== -* Tests, including linters and check-manifest +* Tests, including linters * Update CHANGELOG.rst, removing "(in development)" and adding date @@ -16,12 +16,6 @@ Release process ./release.sh -* Tag the release e.g.:: - - git tag v0.3 - * Update the version numbers again, moving to the next release, and adding "-dev1" * Add new section to HISTORY.rst - -* ``git push --tags`` diff --git a/release.sh b/release.sh index f25db3e..5c14020 100755 --- a/release.sh +++ b/release.sh @@ -17,3 +17,6 @@ python3 setup.py bdist_wheel --python-tag=py3 || exit 1 VERSION=$(./setup.py --version) || exit 1 twine upload dist/fluent_compiler-$VERSION.tar.gz dist/fluent_compiler-$VERSION-py3-none-any.whl || exit 1 +git tag v$VERSION || exit 1 +git push || exit 1 +git push --tags || exit 1