fix version parsing

This commit is contained in:
Vincent Poulailleau 2020-09-07 09:04:21 +02:00
parent c04e675166
commit 24e06451ed
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ git rebase
git status
# version management
VERSION=`grep "version =" pyproject.toml | sed -e 's/.*= "//' -e 's/"//'`
VERSION=`egrep "^version =" pyproject.toml | sed -e 's/.*= "//' -e 's/"//'`
VERSION="v${VERSION}"
echo "Version to be delivered: ${VERSION}"
echo -n "Is it OK? (y/n) [y]: "