From 209c307baf7654f4248a8b7109f7fe93a1ca7a3e Mon Sep 17 00:00:00 2001 From: Vinay Reddy Godhala Date: Wed, 30 Oct 2024 11:33:18 +0530 Subject: [PATCH 1/3] fix(goreleaser) : changes in goreleaser.yml --- .goreleaser.yml | 8 ++++---- pkg/dashboards/dashboards_types.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c73e7424..87d30193 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,5 @@ version: 2 project_name: newrelic-client-go - env: - GO111MODULE=on @@ -8,12 +7,13 @@ before: hooks: - go mod download -build: - skip: true +#build: +# build: +# skip: true # Uses git-chglog output from release flow changelog: - skip: false + disable: false release: prerelease: false diff --git a/pkg/dashboards/dashboards_types.go b/pkg/dashboards/dashboards_types.go index e1a9271f..a4238c2e 100644 --- a/pkg/dashboards/dashboards_types.go +++ b/pkg/dashboards/dashboards_types.go @@ -320,7 +320,7 @@ type RawConfiguration struct { DataFormat []*DashboardWidgetDataFormat `json:"dataFormatters,omitempty"` } -// RawConfigurationPlatformOptions represents the platform widget options +// RawConfigurationPlatformOptions represents platform widget options type RawConfigurationPlatformOptions struct { IgnoreTimeRange bool `json:"ignoreTimeRange,omitempty"` } From 91d96cf6140100c733bf45911176b9e7713e6033 Mon Sep 17 00:00:00 2001 From: Vinay Reddy Godhala Date: Mon, 4 Nov 2024 19:56:27 +0530 Subject: [PATCH 2/3] fix(goreleaser) : changes in goreleaser.yml --- .goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 406c6c61..8438ccc2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 project_name: newrelic-client-go env: - GO111MODULE=on From 5cb525a9859d6e32262f52412d594c51e0b25b7b Mon Sep 17 00:00:00 2001 From: Vinay Reddy Godhala Date: Tue, 5 Nov 2024 10:43:31 +0530 Subject: [PATCH 3/3] fix(goreleaser): print goreleaser version --- scripts/release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/release.sh b/scripts/release.sh index 60d2bc12..00913f43 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -23,6 +23,10 @@ fi VER_CURR=$(${VER_CMD} current --strip-prefix) VER_NEXT=$(${VER_CMD} next --strip-prefix) +GO_VERR=$(${GO_VER} --version) + +echo "goreleaser version: ${GO_VERR}" + echo " " echo "Comparing tag versions..." echo "Current version: ${VER_CURR}"