From 4796997c83293ff2ede3031824cbe2d7ca48d6b0 Mon Sep 17 00:00:00 2001 From: Naufan Rizal Date: Fri, 24 May 2024 14:44:25 +1200 Subject: [PATCH 1/4] Add new line in each log --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 558e8456..5b5367d1 100644 --- a/main.go +++ b/main.go @@ -170,6 +170,7 @@ func retryFailedTests(testRunner runner.Rspec, maxRetries int) int { // logErrorAndExit logs an error message and exits with the given exit code. func logErrorAndExit(exitCode int, format string, v ...any) { fmt.Printf(format, v...) + fmt.Print("\n") os.Exit(exitCode) } From e1f72b9560758e02d3cce8204d6a2d85dc760809 Mon Sep 17 00:00:00 2001 From: Naufan Rizal Date: Mon, 27 May 2024 14:45:22 +1200 Subject: [PATCH 2/4] Simplify the code --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 5b5367d1..bc0c0185 100644 --- a/main.go +++ b/main.go @@ -169,8 +169,7 @@ func retryFailedTests(testRunner runner.Rspec, maxRetries int) int { // logErrorAndExit logs an error message and exits with the given exit code. func logErrorAndExit(exitCode int, format string, v ...any) { - fmt.Printf(format, v...) - fmt.Print("\n") + fmt.Printf(format+"\n", v...) os.Exit(exitCode) } From 1ad5b3c4006d8840d5c8b21cfb459988ec907e72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 12:25:10 +0000 Subject: [PATCH 3/4] chore(deps): bump docker/library/alpine in /.buildkite Bumps docker/library/alpine from 3.19.1 to 3.20.0. --- updated-dependencies: - dependency-name: docker/library/alpine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .buildkite/Dockerfile-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/Dockerfile-release b/.buildkite/Dockerfile-release index 721fefc4..750aab73 100644 --- a/.buildkite/Dockerfile-release +++ b/.buildkite/Dockerfile-release @@ -1,3 +1,3 @@ -FROM public.ecr.aws/docker/library/alpine:3.19.1@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b +FROM public.ecr.aws/docker/library/alpine:3.20.0@sha256:77726ef6b57ddf65bb551896826ec38bc3e53f75cdde31354fbffb4f25238ebd RUN apk add --no-cache openssh-client github-cli From e340c230c2db91f00e51ab60548b40d2254e681d Mon Sep 17 00:00:00 2001 From: Naufan Rizal Date: Tue, 28 May 2024 09:47:49 +1200 Subject: [PATCH 4/4] Update CHANGELOG and version --- CHANGELOG.md | 3 +++ version/VERSION | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 080695ef..60913f08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.5.1 +- Add a new line to each error log. + ## 0.5.0 - ⚠️ **BREAKING** Rename `BUILDKITE_TEST_SPLITTER_CMD` to `BUILDKITE_SPLITTER_TEST_CMD`. - ⚠️ **BREAKING** Change the authentication mechanism to use Buildkite API access token. See [Migrating to 0.5.0](https://github.com/buildkite/test-splitter/tree/main?tab=readme-ov-file#migrating-to-050). diff --git a/version/VERSION b/version/VERSION index 8f0916f7..4b9fcbec 100644 --- a/version/VERSION +++ b/version/VERSION @@ -1 +1 @@ -0.5.0 +0.5.1