Skip to content

Commit 11b76b6

Browse files
committed
Release script improvements
1 parent deb1d0d commit 11b76b6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

RELEASE.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release process
22
===============
33

4-
* Tests, including linters and check-manifest
4+
* Tests, including linters
55

66
* Update CHANGELOG.rst, removing "(in development)" and adding date
77

@@ -16,12 +16,6 @@ Release process
1616

1717
./release.sh
1818

19-
* Tag the release e.g.::
20-
21-
git tag v0.3
22-
2319
* Update the version numbers again, moving to the next release, and adding "-dev1"
2420

2521
* Add new section to HISTORY.rst
26-
27-
* ``git push --tags``

release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ python3 setup.py bdist_wheel --python-tag=py3 || exit 1
1717

1818
VERSION=$(./setup.py --version) || exit 1
1919
twine upload dist/fluent_compiler-$VERSION.tar.gz dist/fluent_compiler-$VERSION-py3-none-any.whl || exit 1
20+
git tag v$VERSION || exit 1
21+
git push || exit 1
22+
git push --tags || exit 1

0 commit comments

Comments
 (0)