From a13baec8cdc7f611e20d6d3fefd2e8dbbec562fe Mon Sep 17 00:00:00 2001 From: Peter Mounce Date: Tue, 7 Jul 2020 10:40:43 +0100 Subject: [PATCH] Remove checkout, same reason as command (#9) --- changelog.md | 12 +++++++++--- hooks/checkout | 3 --- readme.md | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100755 hooks/checkout diff --git a/changelog.md b/changelog.md index 77e3848..32cfb69 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,14 @@ # Changelog -## 0.4.0 +## v0.4.1 -### Fixed +### v0.4.1 Removed + +- Removed `checkout`, same reason as `command`. + +## v0.4.0 + +### v0.4.0 Fixed - Allow multiple steps to use metahooks for the same hook but with different content. - Inject `bash` shebang and Bash Strict Mode (`set -euo pipefail`) so that if metahooks fail with errors the job halts rather than continuing. @@ -14,7 +20,7 @@ You can override those choices by setting different values (e.g. `set +o nounset`) within your metahook. -### Removed +### v0.4.0 Removed - **Breaking change** Removed support for `command` metahook. diff --git a/hooks/checkout b/hooks/checkout deleted file mode 100755 index 699c30f..0000000 --- a/hooks/checkout +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -"${BASH_SOURCE%/*}/run-hook.sh" "$(basename "${BASH_SOURCE[0]}")" diff --git a/readme.md b/readme.md index 5188007..93d4e67 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ A Buildkite plugin that allows running additional commands as buildkite hooks on ```yaml common: &common plugins: - - improbable-eng/metahook: + - improbable-eng/metahook#v0.4.1: post-checkout: scripts/setup.sh pre-exit: | scripts/cleanup.sh