aboutsummaryrefslogtreecommitdiff
path: root/aux
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-16 23:32:13 -0300
committerEuAndreh <eu@euandre.org>2021-06-16 23:32:13 -0300
commit67f80216309d7746b3546fd3b6e226eed1dfb954 (patch)
tree82ce1995a999c74a06a5b2f862c8eea1962a64d9 /aux
parentpaku.json: Unregister sharedc-latest (diff)
downloadpackage-repository-67f80216309d7746b3546fd3b6e226eed1dfb954.tar.gz
package-repository-67f80216309d7746b3546fd3b6e226eed1dfb954.tar.xz
aux/: Update
Diffstat (limited to 'aux')
-rwxr-xr-xaux/workflow/assert-changelog.sh6
-rwxr-xr-xaux/workflow/dist.sh7
2 files changed, 8 insertions, 5 deletions
diff --git a/aux/workflow/assert-changelog.sh b/aux/workflow/assert-changelog.sh
index dc8867f..61cd916 100755
--- a/aux/workflow/assert-changelog.sh
+++ b/aux/workflow/assert-changelog.sh
@@ -2,10 +2,12 @@
set -eu
TLD="$(cat aux/tld.txt)"
-PROJECT="$1"
+PROJECT_UC="$1"
+PROJECT="$2"
+shift
shift
-HOMEPAGE_LINK="Changelog for [$PROJECT](https://$TLD/$PROJECT/)."
+HOMEPAGE_LINK="Changelog for [$PROJECT_UC](https://$TLD/$PROJECT/)."
if ! grep -qF "$HOMEPAGE_LINK" CHANGELOG.md; then
echo "Missing link to homepage in CHANGELOG.md:" >&2
diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh
index d0d3e02..ee67f24 100755
--- a/aux/workflow/dist.sh
+++ b/aux/workflow/dist.sh
@@ -3,15 +3,16 @@ set -eu
DATE="$1"
VVERSION="v$2"
-PROJECT="$3"
-MAILING_LIST="$4"
+PROJECT_UC="$3"
+PROJECT="$4"
+MAILING_LIST="$5"
if git show "$VVERSION" 1>/dev/null 2>/dev/null; then
echo "Version '$VVERSION' already exists." >&2
exit 1
fi
-sh aux/workflow/assert-changelog.sh "$PROJECT" "$VVERSION"
+sh aux/workflow/assert-changelog.sh "$PROJECT_UC" "$PROJECT" "$VVERSION"
sh aux/workflow/assert-readme.sh "$PROJECT" "$MAILING_LIST" "$VVERSION"
if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then