aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/README.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-07 21:42:08 -0300
committerEuAndreh <eu@euandre.org>2021-06-07 21:42:08 -0300
commit849ccbba56f7f12f983bcbb2a6cfdd04329fe2e4 (patch)
treeda07e25e8538d952e6202793665a939f28083e3e /aux/workflow/README.sh
parentUpdate link to project websites (diff)
downloadeuandre.org-849ccbba56f7f12f983bcbb2a6cfdd04329fe2e4.tar.gz
euandre.org-849ccbba56f7f12f983bcbb2a6cfdd04329fe2e4.tar.xz
Update files under aux/
Diffstat (limited to '')
-rwxr-xr-xaux/workflow/README.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/aux/workflow/README.sh b/aux/workflow/README.sh
deleted file mode 100755
index aa5cbe6..0000000
--- a/aux/workflow/README.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT_UC="$1"
-PROJECT="$2"
-MAILING_LIST="$3"
-
-RELEASES_LIST="$(mktemp)"
-for version in $(git tag | perl -e 'print reverse <>'); do
- echo "- version [$version](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz) ([sig](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz.asc)), 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
-
-LINKS="$(mktemp)"
-cat <<EOF > "$LINKS"
-
-# Links
-
-- [home page](https://$PROJECT.euandreh.xyz)
-- [source code](https://git.euandreh.xyz/$PROJECT/)
-- [bug tracking](https://$PROJECT.euandreh.xyz/TODOs.html)
-- [mailing list](https://lists.sr.ht/~euandreh/$MAILING_LIST?search=%5B$PROJECT%5D)
-- [CI logs](https://$PROJECT.euandreh.xyz/ci.html)
-- [CHANGELOG](https://$PROJECT.euandreh.xyz/CHANGELOG.html)
-EOF
-
-cat "README.md" "$LINKS" "$RELEASES" | \
- pandoc --toc \
- --highlight-style pygments \
- --toc-depth=2 \
- -s \
- --metadata title="$PROJECT_UC - README" \
- --metadata lang=en \
- -r commonmark \
- -w html \
- > public/index.html