Skip to content

Commit

Permalink
Fix versioning of releases
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Sep 8, 2021
1 parent fc803bd commit cfc9056
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ after_success:

before_deploy:
- git config --local user.name "nielstron"
- export TRAVIS_TAG=release-$(cat setup.py | grep version= | cut -d "\"" -f 2)
- export TRAVIS_TAG=release-$(cat setup.py | grep "version = " | cut -d "\"" -f 2)
- git tag $TRAVIS_TAG || echo "Tag already exists"

deploy:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Python package setup script -*- coding: utf-8 -*-

name = "demjson3"
version = "3.0.0"
version = "3.0.1"

from setuptools import setup

Expand Down Expand Up @@ -33,7 +33,7 @@
keywords=["JSON", "jsonlint", "JavaScript", "UTF-32"],
platforms=[],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
Expand Down

0 comments on commit cfc9056

Please sign in to comment.