File tree Expand file tree Collapse file tree 3 files changed +545
-3
lines changed Expand file tree Collapse file tree 3 files changed +545
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ NODE_PLATFORM=$(node -e "console.log(process.platform)")
66NODE_ARCH=$( node -e " console.log(process.arch)" )
77ext_dir=integration/vscode/ada
88
9+ function create_changelog() {
10+ # Replace the \<next> section with the tag
11+ sed -e " s/^## \\\\ <next>$/## $TAG /" < CHANGELOG.md
12+ }
13+
14+ create_changelog > " $ext_dir /CHANGELOG.md"
15+
916(
1017 cd " $ext_dir "
1118
Original file line number Diff line number Diff line change @@ -28,9 +28,8 @@ git fetch --tags
2828function release_notes() {
2929 echo " # Release notes"
3030
31- git show --no-patch --format=%n " $TAG " |
32- sed -e ' 1,/Release notes/d'
33- echo " "
31+ # Select the content of the first section of CHANGELOG.md
32+ sed -n -e ' /^## \\<next>/,/^##/p' < CHANGELOG.md | tail -n +2 | head -n -1
3433
3534 COMMITS=commits.txt
3635
You can’t perform that action at this time.
0 commit comments