Skip to content

Commit

Permalink
Remove u marker from python strings to make black happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ohemorange committed Jan 22, 2025
1 parent 3b5035a commit d98308c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ git checkout "$RELEASE_BRANCH"
SetVersion() {
ver="$1"
short_ver=$(echo "$ver" | cut -d. -f1,2)
sed -i "s/^release.*/release = u'$ver'/" docs/conf.py
sed -i "s/^version.*/version = u'$short_ver'/" docs/conf.py
sed -i "s/^release.*/release = '$ver'/" docs/conf.py
sed -i "s/^version.*/version = '$short_ver'/" docs/conf.py
poetry version "$ver"

# interactive user input
Expand Down

0 comments on commit d98308c

Please sign in to comment.