From 0b2330c2c44c3993b762186183944688ecc69b4e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 29 May 2023 18:43:29 -0400 Subject: [PATCH] fix: adjust for black --- release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release b/release index c6e6033..51d1916 100755 --- a/release +++ b/release @@ -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