Chore: Updated the version bump script to also update the version on frank toml

This commit is contained in:
Amritanshu Agrawal 2021-03-26 07:33:29 +05:30
parent 47381527c2
commit 0046c4fdd1

View File

@ -11,6 +11,8 @@ sed --in-place --regexp-extended 's/"([0-9].[0-9].[0-9])"/"'"$1"'"/g' barker/bar
git add barker/barker/__version__.py
sed --in-place --regexp-extended 's/version = "([0-9].[0-9].[0-9])"/version = "'"$1"'"/g' barker/pyproject.toml
git add barker/pyproject.toml
sed --in-place --regexp-extended 's/version = "([0-9].[0-9].[0-9])"/version = "'"$1"'"/g' frank/pyproject.toml
git add frank/pyproject.toml
sed --in-place --regexp-extended 's/version: '\''([0-9].[0-9].[0-9])'\''/version: '\'"$1"\''/g' bookie/src/environments/environment.prod.ts
git add bookie/src/environments/environment.prod.ts
sed --in-place --regexp-extended 's/version: '\''([0-9].[0-9].[0-9])'\''/version: '\'"$1"\''/g' bookie/src/environments/environment.ts