Commit c595167 1 parent 9f5d201 commit c595167 Copy full SHA for c595167
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Run this from the root directory of the repository:
4
- # ./.procedures/rebuild-and-run-TOC-generator.sh
4
+ # ./.procedures/rebuild-and-run-TOC-generator.sh nextTag
5
+
6
+ # Capture the tag that gets passed in as an argument
7
+ TAG=$1
5
8
6
9
# Change into projects directory
7
10
cd 22-Projects/
8
11
9
12
# Build the program
10
- spago bundle --main ToC.ReaderT.Main --to dist/table-of-contents/ghtoc.js
13
+ spago bundle-app --main ToC.ReaderT.Main --to dist/table-of-contents/ghtoc.js
11
14
12
15
# Change directory to be at the root directory again.
13
16
cd ../
14
17
15
18
# Then re-generate the ToC file
16
- echo " Now running program "
17
- node 22-Projects/dist/table-of-contents/ghtoc.js -r " . " -o " ./table-of-contents.md" --log-level " info "
19
+ echo " Now regenerating the ToC file. "
20
+ node 22-Projects/dist/table-of-contents/ghtoc.js -r . -o ./table-of-contents.md --github-reference $TAG --skip-url-verification
18
21
echo " Finished creating the ToC file."
19
-
20
- # Copy and paste this code into terminal once above check passes
21
- # node 22-Projects/dist/table-of-contents/ghtoc.js -r "." -o "./table-of-contents.md" --github-reference "ps-0.12.x-v0.13.0" --skip-url-verification
You can’t perform that action at this time.
0 commit comments