Skip to content

Conversation

@mattmoor
Copy link
Member

This is because of this feature deprecation at the latest version tag: https://goreleaser.com/deprecations/#archivesreplacements

@mattmoor mattmoor requested a review from a team as a code owner July 22, 2023 20:55
@mattmoor mattmoor requested review from kaniini and rawlingsj July 22, 2023 20:55
@mattmoor
Copy link
Member Author

The error we see is:

line 31: field replacements not found in type config.Archive

@mattmoor mattmoor force-pushed the pin-metacontroller-goreleaser branch from 85c9674 to 49831cb Compare July 22, 2023 21:01
@mattmoor
Copy link
Member Author

Ugh, it appears that wolfictl text is dumb about the APK package constraint syntax and supports neither <1.19 or =1.18.2, so this is more involved than it should be 😞

@kaniini
Copy link
Contributor

kaniini commented Jul 23, 2023

Instead of having a build constraint here, goreleaser 1.18 should be packaged as an alternative, and it should depend on goreleaser 1.18 directly.

@mattmoor
Copy link
Member Author

@kaniini you mean create a goreleaser-1.18 package, right?

@kaniini
Copy link
Contributor

kaniini commented Jul 24, 2023

Yeah.

This is because of this feature deprecation at the latest version tag:
https://goreleaser.com/deprecations/#archivesreplacements

Signed-off-by: Matt Moore <[email protected]>
@mattmoor mattmoor force-pushed the pin-metacontroller-goreleaser branch from 2c15ddb to d3a7f0c Compare July 24, 2023 19:17
@mattmoor
Copy link
Member Author

@kaniini ok, I added gorelease-1.18 based on goreleaser, and building that and the updated metacontroller also works for me 🤞

@mattmoor mattmoor added this pull request to the merge queue Jul 24, 2023
Merged via the queue into wolfi-dev:main with commit d42b2f0 Jul 24, 2023
@mattmoor mattmoor deleted the pin-metacontroller-goreleaser branch July 24, 2023 19:34
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.

3 participants