Skip to content

Commit 76d9df4

Browse files
committed
Fix bumpver Makefile target
The current version will instead of 1.8.3 create a version of 1.2.
1 parent 5f54a85 commit 76d9df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ po-push: potfile
136136
bumpver: po-push
137137
read -p "Please see the above message. Verify and push localization commit. Press anything to continue." -n 1 -r
138138

139-
@NEWSUBVER=$$((`echo $(VERSION) |cut -d . -f 2` + 1)) ; \
140-
NEWVERSION=`echo $(VERSION).$$NEWSUBVER |cut -d . -f 1,3` ; \
139+
@NEWSUBVER=$$((`echo $(VERSION) |cut -d . -f 3` + 1)) ; \
140+
NEWVERSION=`echo $(VERSION).$$NEWSUBVER |cut -d . -f 1,2,4` ; \
141141
sed -i "s/Version: $(VERSION)/Version: $$NEWVERSION/" $(SPECNAME).spec ; \
142142
sed -i "s/version='$(VERSION)'/version='$$NEWVERSION'/" setup.py
143143

0 commit comments

Comments
 (0)