From fbc2ea085ea33d4491893d192bddd1171de5a13f Mon Sep 17 00:00:00 2001 From: Edward Oliveira Date: Fri, 11 Aug 2023 08:04:56 -0700 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20conserta=20gera=C3=A7=C3=A3o=20de=20?= =?UTF-8?q?CHANGES.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index fa901eb25..bcb98908c 100755 --- a/release.sh +++ b/release.sh @@ -93,11 +93,11 @@ prompt_yes_no() { function commit_and_push { echo -e "${green_color}Committing new release $FINAL_VERSION...${color_reset}" git add docker/docker-compose.yaml setup.py sapl/settings.py sapl/templates/base.html - git changelog --tag $FINAL_VERSION --prune-old -x > latest_changes.tmp - cat /tmp/latest_changes.md CHANGES.md > CHANGES.tmp + git changelog --tag $FINAL_VERSION --prune-old -x > latest_changes.md + cat latest_changes.md CHANGES.md > CHANGES.tmp mv CHANGES.tmp CHANGES.md git add CHANGES.md - rm latest_changes.tmp + rm latest_changes.md if prompt_yes_no "${green_color}Do you want to commit SAPL $FINAL_VERSION release locally?${reset_color}"; then git commit -m "Release: $FINAL_VERSION"