File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
Expand file tree Collapse file tree 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
33TESTRUNNER = $(shell which nosetests)
44TESTFLAGS =
55
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/*
721
822doc ::
923 make -C doc/ html
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def _init_externals():
2929__author__ = "Sebastian Thiel"
3030__contact__ = "byronimo@gmail.com"
3131__homepage__ = "https://github.com/gitpython-developers/gitdb"
32- version_info = (2 , 0 , 0 )
32+ version_info = (2 , 0 , 3 )
3333__version__ = '.' .join (str (i ) for i in version_info )
3434
3535
Original file line number Diff line number Diff line change 77__author__ = "Sebastian Thiel"
88__contact__ = "byronimo@gmail.com"
99__homepage__ = "https://github.com/gitpython-developers/gitdb"
10- version_info = (2 , 0 , 0 )
10+ version_info = (2 , 0 , 3 )
1111__version__ = '.' .join (str (i ) for i in version_info )
1212
1313setup (
You can’t perform that action at this time.
0 commit comments