Skip to content

Commit

Permalink
HOT-FIX: conserta geração de CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardoliveira committed Aug 11, 2023
1 parent 40a0bf0 commit fbc2ea0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fbc2ea0

Please sign in to comment.