mirror of
https://github.com/Hopiu/wagtail-modeltranslation.git
synced 2026-03-16 22:10:30 +00:00
new option to skip the version bump
This commit is contained in:
parent
5d42d99430
commit
e40c776da3
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -29,12 +29,14 @@ release: clean ## package and upload a release (working dir must be clean)
|
|||
echo "1 - new major version"; \
|
||||
echo "2 - new minor version"; \
|
||||
echo "3 - patch"; \
|
||||
echo "4 - keep the current version"; \
|
||||
echo ""; \
|
||||
read yn; \
|
||||
case $$yn in \
|
||||
1 ) bumpversion major; break;; \
|
||||
2 ) bumpversion minor; break;; \
|
||||
3 ) bumpversion patch; break;; \
|
||||
4 ) break;; \
|
||||
* ) echo "Please answer 1-3.";; \
|
||||
esac \
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue