Browse Source

fix: altera release.sh para rodar em shell ubuntu

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

11
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,14 +43,14 @@ 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 -i -E "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 { function set_major_version {

Loading…
Cancel
Save