Browse Source
Merge pull request #986 from octodns/script-release-fix
Anchor script/release version search
pull/994/head
Ross McFarland
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
script/release
|
|
|
@ -19,7 +19,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" |
|
|
|
|