Skip to content

Commit

Permalink
updated repo to include _VERSION and adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 8, 2024
1 parent 1908e9f commit c60acb8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions biosimulator_processes/_VERSION.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.0.5'
8 changes: 5 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
# You must pass the version you are trying to upload to the package index as an argument to this script. For example:
# Usage: ./release.sh 0.0.1

set -e
# CURRENT VERSION: 0.0.5

# set -e

version="$1"

Expand All @@ -20,8 +22,8 @@ fi
# Check working directory is clean
if [ ! -z "$(git status --untracked-files=no --porcelain)" ]; then
echo "You have changes that have yet to be committed."
echo "Aborting."
exit 1
echo "Aborting PyPI upload and attempting to commit your changes."
scripts/commit.sh
fi

# Check that we are on main
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import re
from setuptools import setup, find_packages


VERSION = '0.0.4'
from biosimulator_processes._VERSION import __version__


with open("README.md", "r") as readme:
Expand All @@ -19,7 +17,7 @@

setup(
name="biosimulator-processes",
version=VERSION,
version=__version__,
author="Ryan Spangler, Eran Agmon, Alex Patrie",
author_email="[email protected], [email protected], [email protected]",
description="",
Expand Down

0 comments on commit c60acb8

Please sign in to comment.