Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update goreleaser yaml and release notes to support latest version #494

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
version: 2
before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -47,4 +48,4 @@ release:
# Visit your project's GitHub Releases page to publish this release.
draft: true
changelog:
skip: true
disable: true
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ See [Connect to AWS using the guided setup in Splunk Observability Cloud](https:

## Release the provider

To release the provider, install https://goreleaser.com/install/ if you don't already have it, then follow these steps:
To release the provider, install https://goreleaser.com/install/ (update to v2+ in you have an outdated version), then follow these steps:

1. Update the changelog and create a release in GH (vx.y.z format) in pre-release state
1. Update the changelog and create a [release](https://github.com/splunk-terraform/terraform-provider-signalfx/releases) in GH (vx.y.z format) in **pre-release** state

1. `git pull` (Locally)

1. `export GPG_TTY=$(tty)` (avoid gpg terminal issues if using iTerm2)

1. `GITHUB_TOKEN=xxx GPG_FINGERPRINT=xxx goreleaser --rm-dist` (github token must have `repo` scope)
1. `GITHUB_TOKEN=xxx GPG_FINGERPRINT=xxx goreleaser --clean` (github token must have `repo` scope)

1. Go back to release in github and mark as released/published
1. Go back to the release in github and set "Set as the latest release"
Loading