Skip to content

Commit

Permalink
fix: adjust for black
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed May 29, 2023
1 parent 82e35fb commit 0b2330c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ TMPFILE=$(mktemp /tmp/${tempfoo}.XXXXXX) || {
exit 1
}

find_this="__version__ = '$current_version'"
replace_with="__version__ = '$next_version'"
find_this="__version__ = \"$current_version\""
replace_with="__version__ = \"$next_version\""

echo -e "${YELLOW}--->${COLOR_OFF} Updating ${INIT_PACKAGE_NAME}/__init__.py"
sed "s/$find_this/$replace_with/" ${INIT_PACKAGE_NAME}/__init__.py > $TMPFILE && mv $TMPFILE ${INIT_PACKAGE_NAME}/__init__.py
Expand Down

0 comments on commit 0b2330c

Please sign in to comment.