From 0f5b2bba78889b30c662b47e7bc8feece18a4097 Mon Sep 17 00:00:00 2001 From: Abdel Fane Date: Thu, 30 Jul 2026 10:30:48 -0600 Subject: [PATCH] Point the release upload at the repository's current name The v1.3.0 release built every binary, produced all five archives and pushed the Docker images, then failed to upload a single asset: POST https://uploads.github.com/repos/csnp/qramm-cryptodeps/releases/362570532/ assets?name=cryptodeps_1.3.0_darwin_x86_64.tar.gz: 307 location The repository was renamed qramm-cryptodeps -> cryptodeps. GitHub answers the old name with a 307 redirect, and GoReleaser's asset uploader does not follow it, so the release was left as a draft with zero assets. Only the upload target moves. Everything else that still names the old path was checked and is correct where it is: - The Go module path stays github.com/csnp/qramm-cryptodeps. Changing it would break every importer, and module resolution follows the redirect. - The ghcr.io image names stay, because those images pushed successfully and renaming them would orphan the published tags. - The curl install line and the compare URL in the release notes use redirect- following clients. --- .goreleaser.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 012e2cf..2ec32d2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -126,7 +126,14 @@ dockers: release: github: owner: csnp - name: qramm-cryptodeps + # The repository was renamed qramm-cryptodeps -> cryptodeps. This field is + # the upload target, and GitHub answers the old name with a 307 redirect + # that GoReleaser's asset uploader does not follow ("location "), so + # every archive upload failed while the build, the archives and the Docker + # push all succeeded. The Go module path stays github.com/csnp/qramm-cryptodeps + # deliberately: changing it would break every importer, and module resolution + # does follow the redirect. + name: cryptodeps draft: false prerelease: auto mode: replace