Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/put-auto-gh-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@buildinternet/uploads": minor
---

`uploads put` now stamps the four `gh.*` metadata pairs whenever it has a
GitHub target, so screenshots hosted on the default `screenshots/…` path get an
"Attached to" link on their `/f/` page. On by default: with `--pr`/`--issue`
the explicit target is used (previously the stable key was written without
metadata); otherwise `put` resolves the current branch's PR (or classifies a
numeric `--ref` as pull vs issue) via `gh`. Disable with `--no-auto`,
`--no-git`, or `UPLOADS_NO_AUTO_META=1`. Resolution is best-effort — a missing
`gh`, no PR, or an API error uploads normally without metadata.
Loading
Loading