File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ sed -i "s/# plantuml.*/# plantuml/" README.md
66pandoc README.md --pdf-engine=lualatex -o plantuml.pdf
77
88# Keep first paragraph of README.md only
9- # hint for multiline matching from https://unix.stackexchange.com/a/369899/18033
10- cat README.md | awk 1 ORS=__ABC__ | sed -e " s/__ABC__## Preconditions.*//" | awk 1 RS=__ABC__ > README.md
9+ # Hint for multiline matching from https://unix.stackexchange.com/a/369899/18033
10+ # We have to use tmp.md, because of file locking on CircleCI
11+ cat README.md | awk 1 ORS=__ABC__ | sed -e " s/__ABC__## Preconditions.*//" | awk 1 RS=__ABC__ > tmp.md && mv tmp.md README.md
1112
1213# Prepare for CTAN
1314ctanify --notds plantuml.sty plantuml.lua plantuml.pdf README.md CHANGELOG.md " example-*.tex"
You can’t perform that action at this time.
0 commit comments