Skip to content

Commit 9155371

Browse files
committed
Setup bumpversion.
1 parent df2dff9 commit 9155371

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

.bumpversion.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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}

Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,31 @@ clean:
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
1338
travis:

plugin/pymode.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,4 +314,3 @@ endif
314314
command! PymodeVersion echomsg "Pymode version: " . g:pymode_version . " interpreter: " . g:pymode_python . " lint: " . g:pymode_lint . " rope: " . g:pymode_rope
315315

316316
augroup pymode
317-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy