File tree 4 files changed +18
-4
lines changed 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,21 @@ SETUP = $(PYTHON) setup.py
3
3
TESTRUNNER = $(shell which nosetests)
4
4
TESTFLAGS =
5
5
6
- all : build
6
+ all ::
7
+ @grep -Ee ' ^[a-z].*:' Makefile | cut -d: -f1 | grep -vF all
8
+
9
+ release :: clean
10
+ # Check if latest tag is the current head we're releasing
11
+ echo " Latest tag = $$ (git tag | sort -nr | head -n1)"
12
+ echo " HEAD SHA = $$ (git rev-parse head)"
13
+ echo " Latest tag SHA = $$ (git tag | sort -nr | head -n1 | xargs git rev-parse)"
14
+ @test " $$ (git rev-parse head)" = " $$ (git tag | sort -nr | head -n1 | xargs git rev-parse)"
15
+ make force_release
16
+
17
+ force_release :: clean
18
+ git push --tags
19
+ python3 setup.py sdist bdist_wheel
20
+ twine upload -s -i byronimo@gmail.com dist/*
7
21
8
22
doc ::
9
23
make -C doc/ html
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def _init_externals():
29
29
__author__ = "Sebastian Thiel"
30
30
__contact__ = "byronimo@gmail.com"
31
31
__homepage__ = "https://github.com/gitpython-developers/gitdb"
32
- version_info = (2 , 0 , 0 )
32
+ version_info = (2 , 0 , 3 )
33
33
__version__ = '.' .join (str (i ) for i in version_info )
34
34
35
35
Original file line number Diff line number Diff line change 7
7
__author__ = "Sebastian Thiel"
8
8
__contact__ = "byronimo@gmail.com"
9
9
__homepage__ = "https://github.com/gitpython-developers/gitdb"
10
- version_info = (2 , 0 , 0 )
10
+ version_info = (2 , 0 , 3 )
11
11
__version__ = '.' .join (str (i ) for i in version_info )
12
12
13
13
setup (
You can’t perform that action at this time.
0 commit comments