Add script to tag and release from master to PyPI
This commit is contained in:
parent
9f8ad8bb65
commit
7cdc0855da
15
scripts/release.sh
Normal file
15
scripts/release.sh
Normal 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.
|
||||
Loading…
Reference in New Issue
Block a user