Skip to content

Commit

Permalink
respect GITHUB_RELEASE env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Aug 22, 2020
1 parent 5be7f82 commit 915c8b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
elif GIT_BRANCH == "dev":
DEVELOPMENT_STATUS = "Development Status :: 3 - Alpha"
VERSION_NAME = "%s-dev" % VERSION_NUMBER
elif os.environ.get("TRAVIS_BRANCH", None) == os.environ.get("TRAVIS_TAG", None) == "v{}".format(VERSION_NUMBER):
elif os.environ.get("TRAVIS_BRANCH", None) == os.environ.get("TRAVIS_TAG", None) == "v{}".format(VERSION_NUMBER) or \
"GITHUB_RELEASE" in os.environ:
# travis tagged release branch
DEVELOPMENT_STATUS = "Development Status :: 5 - Production/Stable"
VERSION_NAME = VERSION_NUMBER
Expand Down

0 comments on commit 915c8b9

Please sign in to comment.