Skip to content

Commit ce7889e

Browse files
committed
chore(version-up): v2.0.2
Include python 3.5/3.6 in list of supported versions, provide signed archives.
1 parent a36fbeb commit ce7889e

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ all:
1212
$(info sdist)
1313

1414
doc:
15-
cd docs && make html
15+
cd doc && make html
1616

1717
clean-docs:
18-
cd docs && make clean
18+
cd doc && make clean
1919

2020
clean-files:
2121
git clean -fx
22+
rm -rf build/ dist/
2223

2324
clean: clean-files clean-docs
2425

@@ -34,4 +35,15 @@ build:
3435
sdist:
3536
./setup.py sdist
3637

37-
38+
release: clean
39+
# Check if latest tag is the current head we're releasing
40+
echo "Latest tag = $$(git tag | sort -nr | head -n1)"
41+
echo "HEAD SHA = $$(git rev-parse head)"
42+
echo "Latest tag SHA = $$(git tag | sort -nr | head -n1 | xargs git rev-parse)"
43+
@test "$$(git rev-parse head)" = "$$(git tag | sort -nr | head -n1 | xargs git rev-parse)"
44+
make force_release
45+
46+
force_release: clean
47+
git push --tags
48+
python setup.py sdist bdist_wheel
49+
twine upload -s -i byronimo@gmail.com dist/*

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"Programming Language :: Python :: 3",
5151
"Programming Language :: Python :: 3.3",
5252
"Programming Language :: Python :: 3.4",
53+
"Programming Language :: Python :: 3.5",
54+
"Programming Language :: Python :: 3.6",
5355
],
5456
long_description=long_description,
5557
tests_require=('nose', 'nosexcover'),

smmap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__author__ = "Sebastian Thiel"
44
__contact__ = "byronimo@gmail.com"
55
__homepage__ = "https://github.com/Byron/smmap"
6-
version_info = (2, 0, 1)
6+
version_info = (2, 0, 2)
77
__version__ = '.'.join(str(i) for i in version_info)
88

99
# make everything available in root package for convenience

0 commit comments

Comments
 (0)