From 55c33020214deac56c667d7272fd6865620c2a76 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Thu, 21 Oct 2021 19:12:28 +0300 Subject: [PATCH] Bump github.com/cirruslabs/cirrus-ci-annotations to 0.4.1 (#188) * Bump github.com/cirruslabs/cirrus-ci-annotations to 0.4.1 * Revert "Bump github.com/cirruslabs/cirrus-ci-annotations to 0.4.1" This reverts commit dfbf71639f03b5ed3586a33b7546ff5b3d06033a. * Bump github.com/cirruslabs/cirrus-ci-annotations to 0.5.0 --- go.mod | 2 +- go.sum | 4 ++-- internal/executor/artifacts.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 1eb236f..9f063b2 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/avast/retry-go v3.0.0+incompatible github.com/bmatcuk/doublestar v1.3.4 github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d - github.com/cirruslabs/cirrus-ci-annotations v0.4.0 + github.com/cirruslabs/cirrus-ci-annotations v0.5.0 github.com/cirruslabs/terminal v0.8.2 github.com/dustin/go-humanize v1.0.0 github.com/go-git/go-git/v5 v5.4.2 diff --git a/go.sum b/go.sum index 4b829e0..64ae58e 100644 --- a/go.sum +++ b/go.sum @@ -49,8 +49,8 @@ github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d/go.mod h1:sGbDF6 github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cirruslabs/cirrus-ci-agent v1.51.0/go.mod h1:lEH1v2tn22T359W3fGjiAcYAY6jsqz75eHc4teh2nCY= github.com/cirruslabs/cirrus-ci-annotations v0.3.0/go.mod h1:xrmxzL58Pf4cSSQCmQEOPGQ3poeARxJdHneurUrqjZk= -github.com/cirruslabs/cirrus-ci-annotations v0.4.0 h1:ENp2ntrp4JaGsKWNUzF/tT1CINZpAnSV9wxkrEqU9VU= -github.com/cirruslabs/cirrus-ci-annotations v0.4.0/go.mod h1:xrmxzL58Pf4cSSQCmQEOPGQ3poeARxJdHneurUrqjZk= +github.com/cirruslabs/cirrus-ci-annotations v0.5.0 h1:crXzmbyi+YcB693sasGAEBFeSUI3dtsrh9soy6p7C5c= +github.com/cirruslabs/cirrus-ci-annotations v0.5.0/go.mod h1:xrmxzL58Pf4cSSQCmQEOPGQ3poeARxJdHneurUrqjZk= github.com/cirruslabs/terminal v0.2.5/go.mod h1:ubLe9fvd4FYeQV08ob5TNp9tsAfE0efkFtPrlKAwIKw= github.com/cirruslabs/terminal v0.8.2 h1:DBOycDzD4FBTkegsEjlKlBZzOFfwa0IaCfr5E5uydw4= github.com/cirruslabs/terminal v0.8.2/go.mod h1:dJjeclmbllzeIveV2wiJyIwgK36bI/VRWgpKXWEKxAk= diff --git a/internal/executor/artifacts.go b/internal/executor/artifacts.go index 47f3901..fa401d0 100644 --- a/internal/executor/artifacts.go +++ b/internal/executor/artifacts.go @@ -50,7 +50,7 @@ func (executor *Executor) UploadArtifacts( workingDir := customEnv["CIRRUS_WORKING_DIR"] if len(allAnnotations) > 0 { - err := annotations.ValidateAnnotations(workingDir, allAnnotations) + allAnnotations, err = annotations.NormalizeAnnotations(workingDir, allAnnotations) if err != nil { logUploader.Write([]byte(fmt.Sprintf("\nFailed to validate annotations: %s", err))) }