summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.multi_arch_docker6
-rw-r--r--.travis.yml2
-rw-r--r--CHANGELOG.md4
-rw-r--r--ShellCheck.cabal2
-rw-r--r--shellcheck.1.md4
5 files changed, 13 insertions, 5 deletions
diff --git a/.multi_arch_docker b/.multi_arch_docker
index 93c0859..294fed2 100755
--- a/.multi_arch_docker
+++ b/.multi_arch_docker
@@ -2,6 +2,12 @@
# This script builds and deploys multi-architecture docker images from the
# binaries previously built and deployed to GCS by the Travis pipeline.
+if [[ "$TRAVIS_SECURE_ENV_VARS" != "true" ]]
+then
+ echo >&2 "Missing TRAVIS_SECURE_ENV_VARS. Skipping Docker builds."
+ exit 0
+fi
+
function multi_arch_docker::install_docker_buildx() {
# Install up-to-date version of docker, with buildx support.
local -r docker_apt_repo='https://download.docker.com/linux/ubuntu'
diff --git a/.travis.yml b/.travis.yml
index e2dc0bc..0ec9718 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ jobs:
- stage: Deploy docker image
# Deploy only for pushes to master branch, not other branches, not PRs.
- if: branch = master AND type = push
+ if: type = push
script:
- source ./.multi_arch_docker
- set -ex; multi_arch_docker::main; set +x
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0dc775a..3e5ca19 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## v0.7.1 - soon
+## v0.7.1 - 2020-04-04
### Fixed
- `-f diff` no longer claims that it found more issues when it didn't
- Known empty variables now correctly trigger SC2086
@@ -7,6 +7,7 @@
called with `builtin`
### Added
+- SC1136: Warn about unexpected characters after ]/]]
- SC2254: Suggest quoting expansions in case statements
- SC2255: Suggest using `$((..))` in `[ 2*3 -eq 6 ]`
- SC2256: Warn about translated strings that are known variables
@@ -17,6 +18,7 @@
- SC2230: 'command -v' suggestion is now off by default (-i deprecate-which)
- SC1081: Keywords are now correctly parsed case sensitively, with a warning
+
## v0.7.0 - 2019-07-28
### Added
- Precompiled binaries for macOS and Linux aarch64
diff --git a/ShellCheck.cabal b/ShellCheck.cabal
index a848d9c..2254c02 100644
--- a/ShellCheck.cabal
+++ b/ShellCheck.cabal
@@ -1,5 +1,5 @@
Name: ShellCheck
-Version: 0.7.0
+Version: 0.7.1
Synopsis: Shell script analysis tool
License: GPL-3
License-file: LICENSE
diff --git a/shellcheck.1.md b/shellcheck.1.md
index 187d12a..50eaddc 100644
--- a/shellcheck.1.md
+++ b/shellcheck.1.md
@@ -107,7 +107,7 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
**-x**,\ **--external-sources**
-: Follow 'source' statements even when the file is not specified as input.
+: Follow `source` statements even when the file is not specified as input.
By default, `shellcheck` will only follow files specified on the command
line (plus `/dev/null`). This option allows following any file the script
may `source`.
@@ -301,7 +301,7 @@ invocation.
# RETURN VALUES
-ShellCheck uses the follow exit codes:
+ShellCheck uses the following exit codes:
+ 0: All files successfully scanned with no issues.
+ 1: All files successfully scanned with some issues.