File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1212 fail " There are uncommitted changes"
1313fi
1414
15+ if [[ $( git log -1 --pretty=%B) != * " CHANGELOG" * ]]
16+ then
17+ fail " Expected git log message to contain CHANGELOG"
18+ fi
19+
1520version=${current# v}
1621if ! grep " Version:" ShellCheck.cabal | grep -qFw " $version "
1722then
5055 fail " Expected git log message to be 'Stable version ...'"
5156fi
5257
53- if [[ $( git log -1 --pretty=%B) != * " CHANGELOG" * ]]
54- then
55- fail " Expected git log message to contain CHANGELOG"
56- fi
57-
5858i=1 j=1
5959cat << 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
8384EOF
8485exit " $failed "
You can’t perform that action at this time.
0 commit comments