aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/README.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aux/workflow/README.sh')
-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 \