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)")
6
6
NODE_ARCH=$( node -e " console.log(process.arch)" )
7
7
ext_dir=integration/vscode/ada
8
8
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
+
9
16
(
10
17
cd " $ext_dir "
11
18
Original file line number Diff line number Diff line change @@ -28,9 +28,8 @@ git fetch --tags
28
28
function release_notes() {
29
29
echo " # Release notes"
30
30
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
34
33
35
34
COMMITS=commits.txt
36
35
You can’t perform that action at this time.
0 commit comments