using bumpversion package for scripts/bumpversion
This commit is contained in:
parent
24fee6726a
commit
58c37c6fdf
@ -10,10 +10,8 @@ main() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: replace this with the bumpversion pip package, I couldn't
|
&>/dev/null which bumpversion || pip install bumpversion
|
||||||
# figure out how to use that for these files
|
bumpversion --new-version ${version} patch
|
||||||
sed -i '' "s/version=.*$/version='${version}',/g" setup.py
|
|
||||||
sed -i '' "s/__version__ = .*$/__version__ = '${version}',/g" moto/__init__.py
|
|
||||||
|
|
||||||
git checkout -b version-${version}
|
git checkout -b version-${version}
|
||||||
# Commit the new version
|
# Commit the new version
|
||||||
|
Loading…
Reference in New Issue
Block a user