Skip to content

Commit 1ad4919

Browse files
authored
push tags (#32)
1 parent 8f55520 commit 1ad4919

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

setup.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
# -----------------------------------------------------------------------------
1010

11+
DESCRIPTION = "Python DB-API and SQLAlchemy interface for Airtable."
12+
VERSION = "0.0.1.dev2"
13+
14+
# -----------------------------------------------------------------------------
15+
1116
here = os.path.abspath(os.path.dirname(__file__))
1217

1318
# read the contents of your README file
@@ -79,14 +84,16 @@ def run(self):
7984
self.status("Uploading the package to PyPi via Twine…")
8085
self.system("twine upload dist/*")
8186

87+
self.status("Pushing git tags…")
88+
self.system("git tag v{0}".format(VERSION))
89+
self.system("git push --tags")
8290

83-
# -----------------------------------------------------------------------------
8491

85-
DESCRIPTION = "Python DB-API and SQLAlchemy interface for Airtable."
92+
# -----------------------------------------------------------------------------
8693

8794
setup(
8895
name="sqlalchemy-airtable",
89-
version="0.0.1.dev1",
96+
version=VERSION,
9097
description=DESCRIPTION,
9198
long_description=long_description,
9299
long_description_content_type=long_description_content_type,

0 commit comments

Comments
 (0)