aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-readme.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-24 11:18:40 -0300
committerEuAndreh <eu@euandre.org>2021-06-24 11:18:40 -0300
commit2539cf045c79ae1ebddccba7f887040d10e6ec1f (patch)
tree72f8f153f0880a98c4aa335e108be0c995b5b103 /aux/workflow/assert-readme.sh
parentdependencies.dot: Songbooks could make money (diff)
downloadpackage-repository-2539cf045c79ae1ebddccba7f887040d10e6ec1f.tar.gz
package-repository-2539cf045c79ae1ebddccba7f887040d10e6ec1f.tar.xz
aux/: Update
Diffstat (limited to '')
-rwxr-xr-xaux/workflow/assert-readme.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/aux/workflow/assert-readme.sh b/aux/workflow/assert-readme.sh
index 2e5d978..2a6c3fd 100755
--- a/aux/workflow/assert-readme.sh
+++ b/aux/workflow/assert-readme.sh
@@ -1,8 +1,6 @@
#!/bin/sh
set -eu
-mkdir -p public
-
PROJECT="$1"
MAILING_LIST="$2"
shift
@@ -43,7 +41,7 @@ RELEASES_LIST="$(mktemp)"
add_release() {
DATE="$1"
VVERSION="$2"
- echo "- version [$VVERSION](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$VVERSION.tar.gz) ([sig](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$VVERSION.tar.gz.asc)), released in $DATE" >> "$RELEASES_LIST"
+ echo "- [$VVERSION](https://git.euandreh.xyz/$PROJECT/commit/?id=$VVERSION) [$PROJECT-$VVERSION.tar.gz](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$VVERSION.tar.gz) ([sig](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$VVERSION.tar.gz.asc)), released in $DATE" >> "$RELEASES_LIST"
}
for VVERSION in $(git tag); do
@@ -52,8 +50,7 @@ for VVERSION in $(git tag); do
done
# "$@" represents a list of tags to be also included in the verification.
-# shellcheck disable=2068
-for VVERSION in $@; do
+for VVERSION in "$@"; do
if ! git tag | grep -qF "$VVERSION"; then
DATE="$(date '+%Y-%m-%d')"
add_release "$DATE" "$VVERSION"