From 73193e46f215b064442eb21e98f6f333466efc38 Mon Sep 17 00:00:00 2001 From: Edward Oliveira Date: Mon, 16 May 2022 10:56:02 -0300 Subject: [PATCH] Adequa release.sh para MacOS --- release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/release.sh b/release.sh index 44d7c4787..ad2f96e2a 100755 --- a/release.sh +++ b/release.sh @@ -34,13 +34,13 @@ function change_files { echo "Atualizando de "$OLD_VERSION" para "$FINAL_VERSION - sed -E -i "s|$OLD_VERSION|$FINAL_VERSION|g" dist/docker-compose.yml + sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" dist/docker-compose.yml - sed -E -i "s|$OLD_VERSION|$FINAL_VERSION|g" setup.py + sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" setup.py - sed -E -i "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/templates/base.html + sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/templates/base.html - sed -E -i "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/settings.py + sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/settings.py } function set_major_version {