diff --git a/CHANGELOG.md b/CHANGELOG.md index 74c578e..3ccafc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,21 @@ # Changelog +0.9.1 (ksindi) +-------------- + +1. Capture and log stderr on Buildkite pipeline upload failure. + 0.9.0 (ksindi) -------------- -* Rewrite plugin in Go -* Change license to Apache 2 +1. Rewrite plugin in Go +2. Change license to Apache 2 0.8.0 (ksindi) -------------- -* Projects are now defined in the dynamic_pipeline.yml file and not the initial pipeline. This allow define most configuration changes in one file. -* The diff command has been split into two commands to give more flexibility on whether you are specifying the default branch or a non-default branch. +1. Projects are now defined in the dynamic_pipeline.yml file and not the initial pipeline. This allow define most configuration changes in one file. +2. The diff command has been split into two commands to give more flexibility on whether you are specifying the default branch or a non-default branch. 0.7.0 (ksindi) -------------- diff --git a/README.md b/README.md index 2af0f4c..035ff36 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Example steps: - label: ":buildkite:" plugins: - - jwplayer/buildpipe#v0.9.0: + - jwplayer/buildpipe#v0.9.1: dynamic_pipeline: dynamic_pipeline.yml ``` diff --git a/git.go b/git.go index afc262f..ac14f65 100644 --- a/git.go +++ b/git.go @@ -2,10 +2,12 @@ package main import ( "bytes" - log "github.com/sirupsen/logrus" + "fmt" "os" "os/exec" "strings" + + log "github.com/sirupsen/logrus" ) func getEnv(key, fallback string) string { diff --git a/hooks/command b/hooks/command index 924979c..c962ddd 100755 --- a/hooks/command +++ b/hooks/command @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -buildpipe_version="${BUILDKITE_PLUGIN_BUILDPIPE_VERSION:-0.9.0}" +buildpipe_version="${BUILDKITE_PLUGIN_BUILDPIPE_VERSION:-0.9.1}" is_test="${BUILDKITE_PLUGIN_BUILDPIPE_TEST_MODE:-false}" if [[ "$is_test" == "false" ]]; then