Commit 9a520d7 1 parent 6142a5e commit 9a520d7 Copy full SHA for 9a520d7
File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,8 @@ if [[ -n "$CI" || ! -d example/docs ]]; then
18
18
cd ..
19
19
fi
20
20
21
- # Checkout the changelog as of the last release
22
- if [[ -n " $CI " ]]; then
23
- echo " Reverting changelog to last release"
24
- git checkout $( git describe --tags --abbrev=0) -- CHANGELOG.md
25
- fi
21
+ # Use changelog as of last release
22
+ git show $( git describe --tags --abbrev=0) :CHANGELOG.md | sed ' s/#* Unreleased//' > site/generated/CHANGELOG.md
26
23
27
24
# Build the actual site, references the API docs
28
25
node bin/typedoc --options site/typedoc.config.jsonc
Original file line number Diff line number Diff line change 19
19
"plugins.md" ,
20
20
"declaration-references.md" ,
21
21
"tags.md" ,
22
- ".. /CHANGELOG.md" ,
22
+ "generated /CHANGELOG.md" ,
23
23
"development/index.md" ,
24
24
] ,
25
25
"customCss" : "custom.css" ,
You can’t perform that action at this time.
0 commit comments