mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-09-30 00:39:19 +08:00
Compare commits
3 Commits
v0.11.0
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
|
abc79b730a | ||
|
d09551a4e6 | ||
|
5cc026842e |
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -77,7 +77,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
|
|
||||||
- name: Build source
|
- name: Build source
|
||||||
run: |
|
run: |
|
||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
|
|
||||||
- name: Work around GitHub permissions bug
|
- name: Work around GitHub permissions bug
|
||||||
run: chmod +x *.bin/*/shellcheck*
|
run: chmod +x *.bin/*/shellcheck*
|
||||||
@@ -135,7 +135,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
|
|
||||||
- name: Upload to GitHub
|
- name: Upload to GitHub
|
||||||
env:
|
env:
|
||||||
|
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,3 +1,13 @@
|
|||||||
|
## Git
|
||||||
|
### Added
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
|
||||||
## v0.11.0 - 2025-08-03
|
## v0.11.0 - 2025-08-03
|
||||||
### Added
|
### Added
|
||||||
- SC2327/SC2328: Warn about capturing the output of redirected commands.
|
- SC2327/SC2328: Warn about capturing the output of redirected commands.
|
||||||
|
@@ -7,6 +7,39 @@ fail() {
|
|||||||
failed=1
|
failed=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i=1 j=1
|
||||||
|
cat << EOF
|
||||||
|
|
||||||
|
Manual Checklist
|
||||||
|
|
||||||
|
$((i++)). Make sure README.md examples are up to date
|
||||||
|
$((i++)). Format and read over the manual for bad formatting and outdated info.
|
||||||
|
$((i++)). Run \`builders/build_builder build/*/\` to update all builder images.
|
||||||
|
$((i++)). \`builders/run_builder dist-newstyle/sdist/ShellCheck-*.tar.gz builders/*/\` to verify that they work.
|
||||||
|
$((i++)). \`for f in \$(cat build/*/tag); do docker push "\$f"; done\` to upload them.
|
||||||
|
$((i++)). Run test/distrotest to ensure that most distros can build OOTB.
|
||||||
|
$((i++)). Make sure GitHub Build currently passes: https://github.com/koalaman/shellcheck/actions
|
||||||
|
$((i++)). Make sure SnapCraft build currently works: https://snapcraft.io/shellcheck/builds
|
||||||
|
$((i++)). Make sure the Hackage package builds locally.
|
||||||
|
$((i++)). Make sure none of the automated checks below fail
|
||||||
|
|
||||||
|
Release Steps
|
||||||
|
|
||||||
|
$((j++)). \`cabal sdist\` to generate a Hackage package
|
||||||
|
$((j++)). \`git push --follow-tags\` to push commit
|
||||||
|
$((j++)). Wait for GitHub Actions to build. (v0.11.0 "Deploy" failed, but worked on retry)
|
||||||
|
$((j++)). Verify release:
|
||||||
|
a. Check that the new versions are uploaded: https://github.com/koalaman/shellcheck/tags
|
||||||
|
b. Check that the docker images have version tags: https://hub.docker.com/u/koalaman
|
||||||
|
$((j++)). If no disaster, upload to Hackage: http://hackage.haskell.org/upload
|
||||||
|
$((j++)). Run 'autoupdate' from https://github.com/koalaman/shellcheck-precommit
|
||||||
|
$((j++)). Release new snap versions on https://snapcraft.io/shellcheck/releases
|
||||||
|
$((j++)). Push a new commit that updates CHANGELOG.md
|
||||||
|
|
||||||
|
Automated Checks
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
if git diff | grep -q ""
|
if git diff | grep -q ""
|
||||||
then
|
then
|
||||||
fail "There are uncommitted changes"
|
fail "There are uncommitted changes"
|
||||||
@@ -54,32 +87,4 @@ if [[ $(git log -1 --pretty=%B) != "Stable version "* ]]
|
|||||||
then
|
then
|
||||||
fail "Expected git log message to be 'Stable version ...'"
|
fail "Expected git log message to be 'Stable version ...'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
i=1 j=1
|
|
||||||
cat << EOF
|
|
||||||
|
|
||||||
Manual Checklist
|
|
||||||
|
|
||||||
$((i++)). Make sure none of the automated checks above failed
|
|
||||||
$((i++)). Run \`builders/build_builder build/*/\` to update all builder images.
|
|
||||||
$((j++)). \`builders/run_builder dist-newstyle/sdist/ShellCheck-*.tar.gz builders/*/\` to verify that they work.
|
|
||||||
$((j++)). \`for f in \$(cat build/*/tag); do docker push "\$f"; done\` to upload them.
|
|
||||||
$((i++)). Run test/distrotest to ensure that most distros can build OOTB.
|
|
||||||
$((i++)). Make sure GitHub Build currently passes: https://github.com/koalaman/shellcheck/actions
|
|
||||||
$((i++)). Make sure SnapCraft build currently works: https://snapcraft.io/shellcheck/builds
|
|
||||||
$((i++)). Format and read over the manual for bad formatting and outdated info.
|
|
||||||
$((i++)). Make sure the Hackage package builds locally.
|
|
||||||
|
|
||||||
Release Steps
|
|
||||||
|
|
||||||
$((j++)). \`cabal sdist\` to generate a Hackage package
|
|
||||||
$((j++)). \`git push --follow-tags\` to push commit
|
|
||||||
$((j++)). Wait for GitHub Actions to build.
|
|
||||||
$((j++)). Verify release:
|
|
||||||
a. Check that the new versions are uploaded: https://github.com/koalaman/shellcheck/tags
|
|
||||||
b. Check that the docker images have version tags: https://hub.docker.com/u/koalaman
|
|
||||||
$((j++)). If no disaster, upload to Hackage: http://hackage.haskell.org/upload
|
|
||||||
$((j++)). Push a new commit that updates CHANGELOG.md
|
|
||||||
$((j++)). Run 'autoupdate' from https://github.com/koalaman/shellcheck-precommit
|
|
||||||
EOF
|
|
||||||
exit "$failed"
|
exit "$failed"
|
||||||
|
Reference in New Issue
Block a user