Skip to content

Cutting a release

Aru Sahni edited this page Feb 25, 2022 · 4 revisions
# Set the new version string
${EDITOR} sentry2csv/__init__.py

# Update the CHANGELOG
${EDITOR} CHANGELOG.md

# Commit and tag things
VERSION=vTHE.VERS.ION.STRING
git add sentry2csv/__init__.py CHANGELOG.md
git commit -m ${VERSION}
git tag -a ${VERSION} -m ${VERSION}
git push
git push --tags

# Install Twine
pip install twine

# Clear any lingering artifacts
rm -rf dist/

# Build the source and binary distributions
python3 setup.py sdist bdist_wheel

# Upload the built artifacts
python3 -m twine upload dist/*
Clone this wiki locally