aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-30 01:28:10 -0300
committerEuAndreh <eu@euandre.org>2021-01-30 01:54:55 -0300
commite670eb08cf9aeccd66e1a0880e2389e4ebc0c49b (patch)
treea67d7a90150af780ae83beaab62e8e3f8a5e6042 /aux/workflow
parentmanifest.scm: Remove leftover packages (diff)
downloadserver-e670eb08cf9aeccd66e1a0880e2389e4ebc0c49b.tar.gz
server-e670eb08cf9aeccd66e1a0880e2389e4ebc0c49b.tar.xz
aux/: Update copied files
Diffstat (limited to 'aux/workflow')
-rwxr-xr-xaux/workflow/README.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/aux/workflow/README.sh b/aux/workflow/README.sh
index 49b1e8d..f9e7f52 100755
--- a/aux/workflow/README.sh
+++ b/aux/workflow/README.sh
@@ -5,6 +5,7 @@ mkdir -p public
PROJECT_UC="$1"
PROJECT="$2"
+README="${3:-README.md}"
RELEASES_LIST="$(mktemp)"
for version in $(git tag); do
@@ -17,7 +18,7 @@ if [ -s "$RELEASES_LIST" ]; then
cat "$RELEASES_LIST" >> "$RELEASES"
fi
-cat README.md "$RELEASES" | \
+cat "$README" "$RELEASES" | \
pandoc --toc \
--highlight-style pygments \
--toc-depth=2 \