Skip to content

Commit

Permalink
remove old backported changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Jan 15, 2025
1 parent 8244025 commit 53a25d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ function maintenancerelease {
# For the maintenance branch we don't want to base our changelog on the unreleased but the backported folder instead
awk '{sub(/unreleasedDir: unreleased/, "unreleasedDir: backported")}1' ./.changie.yaml > temp && mv temp ./.changie.yaml

# If we have backported changes, we need to remove them now since they were backported into the
# last version
rm -f ./.changes/backported/*.yaml

# If we have unreleased changes, they will be released in the next patch, therefore they need
# to go into the backported folder
if [ "$(ls -A ./.changes/unreleased/)" ]; then
Expand Down

0 comments on commit 53a25d7

Please sign in to comment.