From 7cdc0855da0b5b2818c9aff4bf7b4dcbc105bce6 Mon Sep 17 00:00:00 2001 From: Vikash Kothary Date: Sun, 27 Dec 2020 20:56:13 +0000 Subject: [PATCH] Add script to tag and release from master to PyPI --- scripts/release.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/release.sh diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100644 index 0000000..a0cf023 --- /dev/null +++ b/scripts/release.sh @@ -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. \ No newline at end of file