File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ ## 1.14.0-alpha20250716
2+
3+
14EXPERIMENTS:
25
36Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.
Original file line number Diff line number Diff line change @@ -79,6 +79,14 @@ function generate {
7979 COMPLETE_VERSION=" $LATEST_VERSION -$PRERELEASE_VERSION "
8080
8181 npx -y changie@$CHANGIE_VERSION merge -u " ## $COMPLETE_VERSION ($HUMAN_DATE )"
82+
83+ # If we have no changes yet, the changelog is empty now, so we need to add a header
84+ if ! grep -q " $COMPLETE_VERSION " CHANGELOG.md; then
85+ CURRENT_CHANGELOG=$( cat CHANGELOG.md)
86+ echo " ## $COMPLETE_VERSION " > CHANGELOG.md
87+ echo " " >> CHANGELOG.md
88+ echo " $CURRENT_CHANGELOG " >> CHANGELOG.md
89+ fi
8290 ;;
8391
8492 beta)
You can’t perform that action at this time.
0 commit comments