aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/dist.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-01 00:10:51 -0300
committerEuAndreh <eu@euandre.org>2021-03-01 00:10:51 -0300
commiteb7f5f737d3d9538ddd685a3a19a3321bc89d39a (patch)
treed77470bcb575e00991c1447f3d634609180288fa /aux/workflow/dist.sh
parentMakefile: stop ignoring terraform failure (diff)
downloadserver-eb7f5f737d3d9538ddd685a3a19a3321bc89d39a.tar.gz
server-eb7f5f737d3d9538ddd685a3a19a3321bc89d39a.tar.xz
Update files under aux/
Diffstat (limited to 'aux/workflow/dist.sh')
-rwxr-xr-xaux/workflow/dist.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh
index 8f8f617..afe2c92 100755
--- a/aux/workflow/dist.sh
+++ b/aux/workflow/dist.sh
@@ -4,6 +4,7 @@ set -eu
DATE="$1"
VERSION="$2"
VVERSION="v$2"
+PROJECT="$3"
if git show "$VVERSION" 1>/dev/null 2>/dev/null; then
echo "Version '$VVERSION' already exists." >&2
@@ -15,9 +16,8 @@ if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then
exit 1
fi
-if ! grep -q "^# $VERSION - $DATE$" CHANGELOG.md; then
- echo "Missing '# $VERSION - $DATE' entry from CHANGELOG.md" >&2
- exit 1
-fi
+sh aux/workflow/assert-changelog.sh "$DATE" "$VERSION" "$PROJECT"
git tag "$VVERSION"
+
+sh aux/workflow/sign-tarballs.sh "$PROJECT"