mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Implement pep440 style public and local version numbers
This commit is contained in:
@@ -16,6 +16,9 @@ if [ ! -f "$ACTIVATE" ]; then
|
||||
fi
|
||||
. "$ACTIVATE"
|
||||
|
||||
# Set so that setup.py will create a public release style version number
|
||||
export OCTODNS_RELEASE=1
|
||||
|
||||
VERSION="$(grep __VERSION__ "$ROOT/octodns/__init__.py" | sed -e "s/.* = '//" -e "s/'$//")"
|
||||
|
||||
git tag -s "v$VERSION" -m "Release $VERSION"
|
||||
|
||||
Reference in New Issue
Block a user