summaryrefslogtreecommitdiff
path: root/update_version.sh
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2022-07-20 11:27:55 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2022-07-20 11:28:13 +0200
commit78f738d7b06d9f4b39c055c396ebd76538f8c712 (patch)
tree1bfd5a83ff50b9b916ed1766e948de480f88b077 /update_version.sh
parente59132d679481e9bdf7be1e3279793642470d2b9 (diff)
downloadrsa-git-78f738d7b06d9f4b39c055c396ebd76538f8c712.tar.gz
Add instructions on how to publish via Twine
Make the existing instructions more concrete by including a config file example and the actual commands to install & run Twine.
Diffstat (limited to 'update_version.sh')
-rwxr-xr-xupdate_version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/update_version.sh b/update_version.sh
index 10e2555..a44f45a 100755
--- a/update_version.sh
+++ b/update_version.sh
@@ -9,6 +9,7 @@ DATE=$(date +'%Y-%m-%d')
sed "s/__date__\s=\s\"[^\"]*\"/__date__ = \"$DATE\"/" -i rsa/__init__.py
sed "s/__version__\s=\s\"[^\"]*\"/__version__ = \"$1\"/" -i rsa/__init__.py
+sed "s+dist/rsa-[\d.]+.tar.gz+__version__ = \"$1\"/" -i README.md
poetry version "$1"
git diff