Browse Source

fix: altera release.sh para rodar em shell ubuntu

pull/3723/head
LeandroJatai 6 months ago
parent
commit
895dbdbbd9
  1. 9
      release.sh

9
release.sh

@ -5,7 +5,6 @@
## ##
## IMPORTANT: requires gh and git-extras commands installed ## IMPORTANT: requires gh and git-extras commands installed
## Currently only runs on MacOS because of sed issue on lines 41 to 47 (see double quotes after -i)
## ##
# TODO: verificar porque só pega versões superiores (3.1.200 ao invés de 3.1.200-RC9) # TODO: verificar porque só pega versões superiores (3.1.200 ao invés de 3.1.200-RC9)
@ -44,13 +43,13 @@ function change_files {
echo "Updating from "$OLD_VERSION" to "$FINAL_VERSION"" echo "Updating from "$OLD_VERSION" to "$FINAL_VERSION""
sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" docker/docker-compose.yaml sed -i -E "s|$OLD_VERSION|$FINAL_VERSION|g" docker/docker-compose.yaml
sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" setup.py sed -i -E "s|$OLD_VERSION|$FINAL_VERSION|g" setup.py
sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/templates/base.html sed -i -E "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/templates/base.html
sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/settings.py sed -i -E "s|$OLD_VERSION|$FINAL_VERSION|g" sapl/settings.py
} }

Loading…
Cancel
Save