1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

__VERSION__ -> __version__ in script/release

This commit is contained in:
Ross McFarland
2023-11-12 15:04:22 -08:00
parent 72f88b4aa8
commit eb4979d40b

View File

@@ -32,7 +32,7 @@ fi
# 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/'$//")"
VERSION="$(grep "^__version__" "$ROOT/octodns/__init__.py" | sed -e "s/.* = '//" -e "s/'$//")"
git tag -s "v$VERSION" -m "Release $VERSION"
git push origin "v$VERSION"