Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time. Cannot retrieve contributors at this time
executable file 49 lines (34 sloc) 1.21 KB
#!/bin/bash
VERSION=$1
PARSL_VERSION=$(python3 -c "import parsl; print(parsl.__version__)")
if [[ $PARSL_VERSION == $VERSION ]]
then
echo "Version requested matches package version: $VERSION"
else
echo "[ERROR] Version mismatch. User request:$VERSION while package version is:$PARSL_VERSION"
exit -1
fi
create_tag () {
echo "Creating tag"
git tag -a "$VERSION" -m "Parsl $VERSION"
echo "Pushing tag"
git push origin --tags
}
release () {
rm dist/*
echo "======================================================================="
echo "Starting clean builds"
echo "======================================================================="
python3 setup.py sdist
python3 setup.py bdist_wheel
echo "======================================================================="
echo "Done with builds"
echo "======================================================================="
sleep 1
echo "======================================================================="
echo "Push to PyPi. This will require your username and password"
echo "======================================================================="
twine upload dist/*
}
create_tag
release
You can’t perform that action at this time.