Adding comment inviting a future person to help use bumpversion
This commit is contained in:
parent
172396e6a8
commit
a4d1319821
1 changed files with 5 additions and 0 deletions
|
|
@ -9,7 +9,12 @@ main() {
|
||||||
grep version= setup.py
|
grep version= setup.py
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# TODO: replace this with the bumpversion pip package, I couldn't
|
||||||
|
# figure out how to use that for these files
|
||||||
sed -i '' "s/version=.*$/version='${version}',/g" setup.py
|
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
|
||||||
git commit setup.py -m "bumping to version ${version}"
|
git commit setup.py -m "bumping to version ${version}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue