Skip to content

Commit

Permalink
push tags (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
cancan101 authored Apr 4, 2022
1 parent 8f55520 commit 1ad4919
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

# -----------------------------------------------------------------------------

DESCRIPTION = "Python DB-API and SQLAlchemy interface for Airtable."
VERSION = "0.0.1.dev2"

# -----------------------------------------------------------------------------

here = os.path.abspath(os.path.dirname(__file__))

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

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

# -----------------------------------------------------------------------------

DESCRIPTION = "Python DB-API and SQLAlchemy interface for Airtable."
# -----------------------------------------------------------------------------

setup(
name="sqlalchemy-airtable",
version="0.0.1.dev1",
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type=long_description_content_type,
Expand Down

0 comments on commit 1ad4919

Please sign in to comment.