Skip to content

Fix goreleaser version (#667)#676

Merged
claudia-correia merged 1 commit intoelastic:1.14from
claudia-correia:backport-667-to-1.14
Nov 18, 2024
Merged

Fix goreleaser version (#667)#676
claudia-correia merged 1 commit intoelastic:1.14from
claudia-correia:backport-667-to-1.14

Conversation

@claudia-correia
Copy link
Contributor

Backport #667 to branch 1.14.

The release github action is currently broken:

We were using the `latest` gorelease-action, which had changed from 1->2 recently. The main breaking change for us was that `--rm-dist` flag was replaced by `--clean`

But this change causes some other changes:
- Some smaller changes in the goreleaser config
- To run the newest goreleaser, we have to upgrade to golang 1.23.0
- When using go 1.23.0, golangci-lint also needs upgrading
- golanci-lint on the new version also has some config deprecations/changes 

But with all these changes, the local build/lint runs without errors or warnings and the dry-run gorelease also runs through (hopefully the same is the case in the github action).
@claudia-correia claudia-correia requested a review from a team as a code owner November 18, 2024 14:56
@claudia-correia claudia-correia merged commit a6a2538 into elastic:1.14 Nov 18, 2024
@claudia-correia claudia-correia deleted the backport-667-to-1.14 branch November 18, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants