diff options
author | EuAndreh <eu@euandre.org> | 2021-01-27 13:09:42 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-27 13:09:42 -0300 |
commit | 53d7c1b4de2d443d531ac4b630f6976c88640815 (patch) | |
tree | 9fc004a645bda202cb82b9ff9fbd880646d97c4d /build-aux/workflow/README.sh | |
parent | v0.1.2: Use sed over tac for POSIX compatibility (diff) | |
download | remembering-53d7c1b4de2d443d531ac4b630f6976c88640815.tar.gz remembering-53d7c1b4de2d443d531ac4b630f6976c88640815.tar.xz |
mv build-aux/ aux/
Diffstat (limited to 'build-aux/workflow/README.sh')
-rwxr-xr-x | build-aux/workflow/README.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/build-aux/workflow/README.sh b/build-aux/workflow/README.sh deleted file mode 100755 index 49b1e8d..0000000 --- a/build-aux/workflow/README.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -set -eu - -mkdir -p public - -PROJECT_UC="$1" -PROJECT="$2" - -RELEASES_LIST="$(mktemp)" -for version in $(git tag); do - echo "- version [$version](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz), released in $(git log -1 --format=%cd --date=short "$version")" >> "$RELEASES_LIST" -done - -RELEASES="$(mktemp)" -if [ -s "$RELEASES_LIST" ]; then - printf '\n# Releases\n\n' >> "$RELEASES" - cat "$RELEASES_LIST" >> "$RELEASES" -fi - -cat README.md "$RELEASES" | \ - pandoc --toc \ - --highlight-style pygments \ - --toc-depth=2 \ - -s \ - --metadata title="$PROJECT_UC - README" \ - --metadata lang=en \ - -r markdown \ - -w html \ - > public/index.html |