File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ [bumpversion]
2+ commit = True
3+ current_version = 0.8.1
4+ files = plugin/pymode.vim
5+ tag = True
6+ tag_name = {new_version}
7+
8+ [bumpversion:file:.envfile]
9+ search = Version: {current_version}
10+ replace = Version: {new_version}
Original file line number Diff line number Diff line change 88 rm -rf $(CURDIR ) /build
99 rm -rf * .deb
1010
11+ VERSION? =minor
12+ # target: release - Bump version
13+ release :
14+ git fetch origin
15+ git checkout master
16+ git rebase
17+ git merge develop
18+ bumpversion $(VERSION )
19+ git checkout develop
20+ git rebase
21+ git merge master
22+ git push origin develop master
23+ git push --tags
24+
25+ .PHONY : minor
26+ minor : release
27+
28+ .PHONY : patch
29+ patch :
30+ make release VERSION=patch
31+
32+ .PHONY : major
33+ major :
34+ make release VERSION=major
35+
1136# Temporary disable rope tests on Travis
1237.PHONY : travis
1338travis :
Original file line number Diff line number Diff line change @@ -314,4 +314,3 @@ endif
314314command ! PymodeVersion echomsg " Pymode version: " . g: pymode_version . " interpreter: " . g: pymode_python . " lint: " . g: pymode_lint . " rope: " . g: pymode_rope
315315
316316augroup pymode
317-
You can’t perform that action at this time.
0 commit comments