Skip to content

Commit

Permalink
Fix release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Sep 15, 2020
1 parent faa66b2 commit 0f4fe34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ function set_version {

cd $(dirname "$0")/../

source .venv/bin/activate

# Check for uncommited changes.
set +e
git diff --quiet && git diff --cached --quiet
Expand All @@ -35,7 +33,7 @@ tox
set_version "$VERSION"
git commit -am "Update version number to ${VERSION} for release."

sudo python3 -m pip install -U twine wheel
# Requirements: python3 -m pip install --user --update twine wheel
python3 setup.py sdist bdist_wheel --universal
python3 -m twine upload dist/lab-${VERSION}.tar.gz dist/lab-${VERSION}-py2.py3-none-any.whl

Expand Down

0 comments on commit 0f4fe34

Please sign in to comment.