From 7de3d1114301658fcc57c9fe7a5e6c88fa48793d Mon Sep 17 00:00:00 2001
From: Pranav Nandula <127438038+pranav-new-relic@users.noreply.github.com>
Date: Mon, 28 Oct 2024 19:02:45 +0530
Subject: [PATCH] chore: revert broken 2.49.0 changelog changes (#1243)
---
CHANGELOG.md | 15 +--------------
build/release.mk | 2 +-
internal/version/version.go | 2 +-
scripts/release.sh | 2 +-
4 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b2b28c377..54e0454eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,15 +1,3 @@
-
-## [v2.49.0] - 2024-10-28
-### Bug Fixes
-- **azure_link_account:** add update capability for all fields in azure cloud link account ([#1242](https://github.com/newrelic/newrelic-client-go/issues/1242))
-
-### Features
-- **automation:** execute code generation when new API endpoints are detected
-- **dashboards:** Added a new field in dashboards -> variable -> options called
-
-### Refactor
-- **automation:** don't send slack message if no new endpoints
-
## [v2.48.2] - 2024-10-04
### Bug Fixes
@@ -1927,8 +1915,7 @@
- extract paging implementation
- rename packages for clarity, promote Config to the public package
-[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v2.49.0...HEAD
-[v2.49.0]: https://github.com/newrelic/newrelic-client-go/compare/v2.48.2...v2.49.0
+[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v2.48.2...HEAD
[v2.48.2]: https://github.com/newrelic/newrelic-client-go/compare/v2.48.1...v2.48.2
[v2.48.1]: https://github.com/newrelic/newrelic-client-go/compare/v2.48.0...v2.48.1
[v2.48.0]: https://github.com/newrelic/newrelic-client-go/compare/v2.47.0...v2.48.0
diff --git a/build/release.mk b/build/release.mk
index 952355211..66ea0d5f0 100644
--- a/build/release.mk
+++ b/build/release.mk
@@ -1,6 +1,6 @@
RELEASE_SCRIPT ?= ./scripts/release.sh
-REL_CMD ?= $(GOBIN)/goreleaser
+REL_CMD ?= goreleaser
DIST_DIR ?= ./dist
# Versioning info
diff --git a/internal/version/version.go b/internal/version/version.go
index e48e22edc..90c66fbe0 100644
--- a/internal/version/version.go
+++ b/internal/version/version.go
@@ -1,4 +1,4 @@
package version
// Version of this library
-const Version string = "2.49.0"
+const Version string = "2.48.2"
diff --git a/scripts/release.sh b/scripts/release.sh
index 3264d1fee..60d2bc127 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -10,7 +10,7 @@ VER_CMD=${GOBIN}/svu
VER_BUMP=${GOBIN}/gobump
CHANGELOG_CMD=${GOBIN}/git-chglog
CHANGELOG_FILE=CHANGELOG.md
-REL_CMD=${GOBIN}/goreleaser
+REL_CMD=goreleaser
RELEASE_NOTES_FILE=${SRCDIR}/tmp/relnotes.md
SPELL_CMD=${GOBIN}/misspell