Skip to content

Commit

Permalink
Merge pull request #323 from tcmitchell/bump-version
Browse files Browse the repository at this point in the history
Bump version to 1.0b9
  • Loading branch information
tcmitchell authored Oct 5, 2021
2 parents 9feb29f + 12017b6 commit 5787579
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions bump-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh

# Bump version of pySBOL3

# Utility to exit with a message
die () {
echo >&2 "$@"
exit 1
}

# Verify 1 argument provided
[ "$#" -eq 1 ] || die "1 argument required, $# provided"
VERSION=$1

echo "Changing version to $VERSION"

# version='1.0b8',
sed -i -e "s/version=.*,/version='$VERSION',/" setup.py

# release = '1.0b8'
sed -i -e "s/release = .*/release = '$VERSION'/" docs/conf.py

# __version__ = '1.0b8'
sed -i -e "s/__version__ = .*/__version__ = '$VERSION'/" sbol3/__init__.py
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Bryan Bartley and Tom Mitchell'

# The full version, including alpha/beta/rc tags
release = '1.0b8'
release = '1.0b9'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion sbol3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.0b8'
__version__ = '1.0b9'

# ---------- BEGIN WARNING WORKAROUND ----------
# Avoid unsightly warnings caused by rdflib 6, and manifested
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='sbol3',
version='1.0b8',
version='1.0b9',
description='Python implementation of SBOL 3 standard',
python_requires='>=3.7',
url='https://github.com/SynBioDex/pySBOL3',
Expand Down

0 comments on commit 5787579

Please sign in to comment.