Skip to content

Commit

Permalink
Fix update_version.sh to follow Black-style formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrenstuvel committed Nov 24, 2021
1 parent 1ba4a17 commit cf47106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ fi

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/__date__\s=\s\"[^\"]*\"/__date__ = \"$DATE\"/" -i rsa/__init__.py
sed "s/__version__\s=\s\"[^\"]*\"/__version__ = \"$1\"/" -i rsa/__init__.py
poetry version "$1"

git diff
Expand Down

0 comments on commit cf47106

Please sign in to comment.