Upload pj-skill.md as a standalone release asset#31
Merged
Conversation
The README instructs agents to fetch the skill file from releases/latest/download/pj-skill.md, which resolves top-level release assets. archives.files only embeds the file inside the tarballs, so that URL has always returned 404. release.extra_files uploads it as its own asset alongside the archives. Closes #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #29 — and the issue is real, not a false positive, though the failure mode is subtler than the title suggests.
Diagnosis
archives.files: [pj-skill.md]config landed before v0.5.0 and worked: all four v0.5.0 tarballs containpj-skill.md(verified by downloading and listing them; v0.4.0's predate the config and don't).https://github.com/kevdoran/projector/releases/latest/download/pj-skill.md, which resolves top-level release assets — and the release assets are onlychecksums.txt+ the four tarballs. The documented URL returns 404 today (verified).archives.filesembeds files inside archives; it never uploads them as standalone assets. So as a release artifact,pj-skill.mdhas always been missing.Fix
Add
release.extra_fileswith a glob forpj-skill.md. GoReleaser uploads matched files as standalone assets alongside the archives, making the README URL resolve. The in-archive copy is kept for binary-download users.Not verifiable locally
GoReleaser isn't installed here, so this validates on the next tagged release: check that
pj-skill.mdappears in the release assets and thatcurl -fsSL https://github.com/kevdoran/projector/releases/latest/download/pj-skill.mdreturns the file.release.extra_filesis a stable (non-deprecated) GoReleaser v2 feature.Note for merge ordering: independent of #26 — this touches the
release:section, #26 removes thehomebrew_casks:block; no overlap.🤖 Generated with Claude Code