Skip to content

Commit

Permalink
use double quotes for code because blackfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Jul 26, 2023
1 parent 8452709 commit 26e54bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [[ ! -f $VERSION_FILENAME ]]; then
exit 1
fi

CODE_VERSION=`grep '__version__\ \=\ ' $CODE_WITH_VERSION | awk '{print $3}' | sed "s/'//g"`
CODE_VERSION=`grep '__version__\ \=\ ' $CODE_WITH_VERSION | awk '{print $3}' | sed 's/"//g'`
VERSION=$(cat $VERSION_FILENAME)

if ! [[ "$CODE_VERSION" =~ ^[0-9]+.[0-9]+.[0-9]+$ ]];then
Expand Down

0 comments on commit 26e54bc

Please sign in to comment.