diff options
author | EuAndreh <eu@euandre.org> | 2021-06-26 18:15:33 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-26 18:17:20 -0300 |
commit | e6510c83a2146436778fbd905bf6597eb187ca4f (patch) | |
tree | b0f0abd1aab262756dfd915e980da8844b7df16d /aux/workflow/assert-readme.sh | |
parent | Makefile: Remove fallible/valgrind tests for now (diff) | |
download | remembering-e6510c83a2146436778fbd905bf6597eb187ca4f.tar.gz remembering-e6510c83a2146436778fbd905bf6597eb187ca4f.tar.xz |
Makefile, README.md: Adapt to changes in aux/
Diffstat (limited to 'aux/workflow/assert-readme.sh')
-rwxr-xr-x | aux/workflow/assert-readme.sh | 7 |
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" |