From dcc18b6a12ef0d1ec28dbb8bb6e197abfff5b959 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 28 Aug 2021 09:46:47 -0300 Subject: aux/workflow/dist.sh: Run "make clean public dev-check" instead of just two assert files before tagging and publishing --- aux/workflow/dist.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'aux/workflow') diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh index cab9ff3..1156474 100755 --- a/aux/workflow/dist.sh +++ b/aux/workflow/dist.sh @@ -59,9 +59,6 @@ if [ "$TAG_LIST" != "$(echo "$TAG_LIST" | sort -t. -n -k1 -k2 -k3)" ]; then exit 1 fi -sh aux/workflow/assert-changelog.sh -N "$PROJECT_UC" -n "$PROJECT" "$VVERSION" -sh aux/workflow/assert-readme.sh -n "$PROJECT" -m "$MAILING_LIST" "$VVERSION" - if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then echo "Date '$DATE' is not up-to-date." >&2 exit 1 @@ -72,6 +69,8 @@ if [ "Release $VVERSION" != "$(git log --format=%B -1 HEAD | head -n1)" ]; then exit 1 fi +make clean public dev-check EXTRA_VERSION="$VVERSION" + if ! (git diff --quiet && git diff --quiet --staged); then echo 'Dirty repository.' exit 1 -- cgit v1.2.3