Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless deployment scripts part #21

Merged
merged 1 commit into from
Oct 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions newversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ if [[ -z "$version" ]]; then
fi

sed -i -e "s/^Version.*/Version: \\t${version}/" python-varlink.spec
sed -i -e "s/^[ \\t]*version.*=.*/ version = \"${version}\",/" setup.py
git commit -m "version ${version}" python-varlink.spec setup.py
git tag -m "version ${version}" --sign "${version}"
git push
git push --tags
rm -fr dist
python3 setup.py bdist_wheel --universal
python3 setup.py sdist
twine upload --skip-existing --sign-with gpg2 -s dist/*
curl -L -O https://github.com/varlink/python-varlink/archive/${version}/python-varlink-${version}.tar.gz
rm -fr docs/build
python3 setup.py build_sphinx --source-dir=docs/ --build-dir=docs/build --all-files
Expand Down