Skip to content

Commit

Permalink
fix: release version grep
Browse files Browse the repository at this point in the history
  • Loading branch information
jerjako committed Feb 14, 2022
1 parent 17c5691 commit 8714557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/release
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ ! -f "$ACTIVATE" ]; then
fi
. "$ACTIVATE"

VERSION="$(grep __VERSION__ "$ROOT/octodns_scaleway/__init__.py" | sed -e "s/.* = '//" -e "s/'$//")"
VERSION="$(grep __VERSION__ "$ROOT/octodns_scaleway/__init__.py" | sed -e "s/.* = '//" -e "s/'$//" -e "/ .*/d")"

git tag -s "v$VERSION" -m "Release $VERSION"
git push origin "v$VERSION"
Expand Down

0 comments on commit 8714557

Please sign in to comment.