Add script to tag and release from master to PyPI

This commit is contained in:
Vikash Kothary 2020-12-27 20:56:13 +00:00
parent 9f8ad8bb65
commit 7cdc0855da

15
scripts/release.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# file: release.sh
# description: Tag master branch and release to PyPI.
## TODO: ensure this is the master branch
## TODO: get package version from pyproject.toml
CURRENT_VERSION=2.3.0
## Create GitHub Release
git tag -a -m "${CURRENT_VERSION}"
git push --tags
## TODO: publish to PyPI.