diff options
author | EuAndreh <eu@euandre.org> | 2021-08-28 09:46:47 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-28 09:46:47 -0300 |
commit | dcc18b6a12ef0d1ec28dbb8bb6e197abfff5b959 (patch) | |
tree | 8767883a939100c118a9b648c07a5990332d17d6 /aux/workflow/dist.sh | |
parent | aux/workflow/dist.sh: Enforce ascending order of tag numbers (diff) | |
download | git-permalink-dcc18b6a12ef0d1ec28dbb8bb6e197abfff5b959.tar.gz git-permalink-dcc18b6a12ef0d1ec28dbb8bb6e197abfff5b959.tar.xz |
aux/workflow/dist.sh: Run "make clean public dev-check" instead of just two assert files before tagging and publishing
Diffstat (limited to 'aux/workflow/dist.sh')
-rwxr-xr-x | aux/workflow/dist.sh | 5 |
1 files changed, 2 insertions, 3 deletions
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 |