Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Commit 42a9b2f

Browse files
committed
Fix README.md updating part of update_version.sh
I committed that too soon; it works now.
1 parent 78f738d commit 42a9b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DATE=$(date +'%Y-%m-%d')
99

1010
sed "s/__date__\s=\s\"[^\"]*\"/__date__ = \"$DATE\"/" -i rsa/__init__.py
1111
sed "s/__version__\s=\s\"[^\"]*\"/__version__ = \"$1\"/" -i rsa/__init__.py
12-
sed "s+dist/rsa-[\d.]+.tar.gz+__version__ = \"$1\"/" -i README.md
12+
sed --posix "s/\(dist\/rsa-\)\([0-9.betalphdv-]*[0-9]\)/\1$1/g" -i README.md
1313
poetry version "$1"
1414

1515
git diff

0 commit comments

Comments
 (0)