We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af06456 commit 79b7cd4Copy full SHA for 79b7cd4
Makefile
@@ -136,8 +136,9 @@ po-push: potfile
136
bumpver: po-push
137
read -p "Please see the above message. Verify and push localization commit. Press anything to continue." -n 1 -r
138
139
- @NEWSUBVER=$$((`echo $(VERSION) |cut -d . -f 2` + 1)) ; \
140
- NEWVERSION=`echo $(VERSION).$$NEWSUBVER |cut -d . -f 1,3` ; \
+# works for x.y.z versions
+ @NEWSUBVER=$$((`echo $(VERSION) |cut -d . -f 3` + 1)) ; \
141
+ NEWVERSION=`echo $(VERSION).$$NEWSUBVER |cut -d . -f 1,2,4` ; \
142
sed -i "s/Version: $(VERSION)/Version: $$NEWVERSION/" $(SPECNAME).spec ; \
143
sed -i "s/version='$(VERSION)'/version='$$NEWVERSION'/" setup.py
144
0 commit comments