Skip to content

Commit 1857608

Browse files
committed
Update release checklist
1 parent abf3c0c commit 1857608

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

test/check_release

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ then
1212
fail "There are uncommitted changes"
1313
fi
1414

15+
if [[ $(git log -1 --pretty=%B) != *"CHANGELOG"* ]]
16+
then
17+
fail "Expected git log message to contain CHANGELOG"
18+
fi
19+
1520
version=${current#v}
1621
if ! grep "Version:" ShellCheck.cabal | grep -qFw "$version"
1722
then
@@ -50,11 +55,6 @@ then
5055
fail "Expected git log message to be 'Stable version ...'"
5156
fi
5257

53-
if [[ $(git log -1 --pretty=%B) != *"CHANGELOG"* ]]
54-
then
55-
fail "Expected git log message to contain CHANGELOG"
56-
fi
57-
5858
i=1 j=1
5959
cat << EOF
6060
@@ -66,7 +66,7 @@ $((j++)). \`builders/run_builder dist-newstyle/sdist/ShellCheck-*.tar.gz builder
6666
$((j++)). \`for f in \$(cat build/*/tag); do docker push "\$f"; done\` to upload them.
6767
$((i++)). Run test/distrotest to ensure that most distros can build OOTB.
6868
$((i++)). Make sure GitHub Build currently passes: https://github.com/koalaman/shellcheck/actions
69-
$((i++)). Make sure SnapCraft build currently works: https://build.snapcraft.io/user/koalaman
69+
$((i++)). Make sure SnapCraft build currently works: https://snapcraft.io/shellcheck/builds
7070
$((i++)). Format and read over the manual for bad formatting and outdated info.
7171
$((i++)). Make sure the Hackage package builds locally.
7272
@@ -80,5 +80,6 @@ $((j++)). Verify release:
8080
b. Check that the docker images have version tags: https://hub.docker.com/u/koalaman
8181
$((j++)). If no disaster, upload to Hackage: http://hackage.haskell.org/upload
8282
$((j++)). Push a new commit that updates CHANGELOG.md
83+
$((j++)). Run 'autoupdate' from https://github.com/koalaman/shellcheck-precommit
8384
EOF
8485
exit "$failed"

0 commit comments

Comments
 (0)