Upgrade goreleaser configs to work with v19 onwards #474

Closed
opened 2023-07-26 10:29:29 +00:00 by decentral1se · 5 comments
Owner

Due to 473cae0146 now the binaries on the releases page for the latest RC are called abra_Darwin_arm64 vs. the old format of e.g. abra_0.6.0-beta_darwin_arm64. Also, the Arch/OS combinations don't seem to be coming out correctly? I tried to test manually but goreleaser is a bit weird... docs here: https://goreleaser.com/customization/templates/ it needs some work. I've manually updated the checksums/binary names for now.

Due to https://git.coopcloud.tech/coop-cloud/abra/commit/473cae0146163e992ae1903ab7cb654c0121a067 now the binaries on the [releases page](https://git.coopcloud.tech/coop-cloud/abra/releases) for the latest RC are called `abra_Darwin_arm64` vs. the old format of e.g. `abra_0.6.0-beta_darwin_arm64`. Also, the Arch/OS combinations don't seem to be coming out correctly? I tried to test manually but `goreleaser` is a bit weird... docs here: https://goreleaser.com/customization/templates/ it needs some work. I've manually updated the checksums/binary names for now.
decentral1se added the
bug
build
abra
labels 2023-07-26 10:29:29 +00:00
decentral1se changed title from Fix binary download naming to Fix binary download naming for releases 2023-07-26 11:39:53 +00:00
Author
Owner

Pinned to v18 in 8fa9419c99 following reading https://goreleaser.com/deprecations/#archivesreplacements - the feature we need gets thrown at v19, so pin just before!

Pinned to v18 in https://git.coopcloud.tech/coop-cloud/abra/commit/8fa9419c9920889e38bcc81e2f923c8e29b668f7 following reading https://goreleaser.com/deprecations/#archivesreplacements - the feature we need gets thrown at v19, so pin just before!
decentral1se self-assigned this 2023-07-28 22:26:23 +00:00
Author
Owner

Sorted for now in https://git.coopcloud.tech/coop-cloud/abra/releases/tag/0.8.0-rc2-beta. Can keep this open to track following the latest goreleaser releases at some point.

Sorted for now in https://git.coopcloud.tech/coop-cloud/abra/releases/tag/0.8.0-rc2-beta. Can keep this open to track following the latest goreleaser releases at some point.
decentral1se changed title from Fix binary download naming for releases to Upgrade goreleaser configs to work with v19 onwards 2023-07-28 23:03:49 +00:00
decentral1se removed their assignment 2023-07-28 23:04:01 +00:00
Author
Owner

This is now blocking the release: https://build.coopcloud.tech/coop-cloud/abra/1498/1/6

I could drop the use of slices but yeh... maybe I need to look at this sooner than later...

Probably not the last issue this is going to cause...

This is now blocking the release: https://build.coopcloud.tech/coop-cloud/abra/1498/1/6 I could drop the use of `slices` but yeh... maybe I need to look at this sooner than later... Probably not the last issue this is going to cause...
Author
Owner

And a new error 🙄

https://build.coopcloud.tech/coop-cloud/abra/1609/1/5

Releasing manually...

And a new error 🙄 > https://build.coopcloud.tech/coop-cloud/abra/1609/1/5 Releasing manually...
Author
Owner
  • go install github.com/goreleaser/goreleaser@v1.18.2
  • export GITEA_TOKEN=...
  • goreleaser build --snapshot --single-target --clean
* `go install github.com/goreleaser/goreleaser@v1.18.2` * `export GITEA_TOKEN=...` * `goreleaser build --snapshot --single-target --clean`
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: toolshed/organising#474
No description provided.