File tree 3 files changed +35
-1
lines changed 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 8
8
rm -rf $(CURDIR ) /build
9
9
rm -rf * .deb
10
10
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
+
11
36
# Temporary disable rope tests on Travis
12
37
.PHONY : travis
13
38
travis :
Original file line number Diff line number Diff line change @@ -314,4 +314,3 @@ endif
314
314
command ! PymodeVersion echomsg " Pymode version: " . g: pymode_version . " interpreter: " . g: pymode_python . " lint: " . g: pymode_lint . " rope: " . g: pymode_rope
315
315
316
316
augroup pymode
317
-
You can’t perform that action at this time.
0 commit comments