aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/README.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-22 23:55:06 -0300
committerEuAndreh <eu@euandre.org>2021-02-22 23:57:17 -0300
commitae8e26ef8715d379daa8f83b0cff88e1f51734f2 (patch)
tree59a27be334a5c7ee3b5f24ba651ea3b602bedc24 /aux/workflow/README.sh
parentUpdate aux/guix/pinned-channels.scm, use nixfmt over ghc-nixfmt (diff)
downloadpackage-repository-ae8e26ef8715d379daa8f83b0cff88e1f51734f2.tar.gz
package-repository-ae8e26ef8715d379daa8f83b0cff88e1f51734f2.tar.xz
Update aux/guix/ and aux/workflow/
Diffstat (limited to '')
-rwxr-xr-xaux/workflow/README.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/aux/workflow/README.sh b/aux/workflow/README.sh
index b9fa38e..8313274 100755
--- a/aux/workflow/README.sh
+++ b/aux/workflow/README.sh
@@ -5,7 +5,7 @@ mkdir -p public
PROJECT_UC="$1"
PROJECT="$2"
-README="${3:-README.md}"
+MAILING_LIST="$3"
RELEASES_LIST="$(mktemp)"
for version in $(git tag); do
@@ -18,7 +18,20 @@ if [ -s "$RELEASES_LIST" ]; then
cat "$RELEASES_LIST" >> "$RELEASES"
fi
-cat "$README" "$RELEASES" | \
+LINKS="$(mktemp)"
+cat <<EOF > "$LINKS"
+
+# Links
+
+- [home page](https://$PROJECT.euandreh.xyz)
+- [source code](https://git.euandreh.xyz/$PROJECT/about/)
+- [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 \