The release workflow published the package but did not tag the commit or connect the package to this repository.
scripts/release.ts now, after publishing:
creates the git tag v<version> on the workflow's commit via the Gitea API (skips if it exists)
links the package to this repository via POST /packages/{owner}/npm/{name}/-/link/{repo} (skips if the package already has a repository)
Publishing, tagging and linking are each idempotent, so starting the workflow again completes a release that already published but was never tagged or linked. The workflow now passes SERVER_URL, REPOSITORY and SHA (replacing REGISTRY_URL).
12 new tests with a fake Gitea API (42 total); npm run check passes
I checked read-only against git.arthurerlich.de that the tag lookup and the encoded scoped package path route correctly (404 JSON messages); the tag and link calls themselves only run in the workflow
The token needs write:package and write:repository (README updated). If the job token lacks either, add a PACKAGE_TOKEN secret
The release workflow published the package but did not tag the commit or connect the package to this repository.
`scripts/release.ts` now, after publishing:
- creates the git tag `v<version>` on the workflow's commit via the Gitea API (skips if it exists)
- links the package to this repository via `POST /packages/{owner}/npm/{name}/-/link/{repo}` (skips if the package already has a repository)
Publishing, tagging and linking are each idempotent, so **starting the workflow again completes a release that already published but was never tagged or linked**. The workflow now passes `SERVER_URL`, `REPOSITORY` and `SHA` (replacing `REGISTRY_URL`).
- 12 new tests with a fake Gitea API (42 total); `npm run check` passes
- I checked read-only against git.arthurerlich.de that the tag lookup and the encoded scoped package path route correctly (404 JSON messages); the tag and link calls themselves only run in the workflow
- The token needs `write:package` and `write:repository` (README updated). If the job token lacks either, add a `PACKAGE_TOKEN` secret
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The release workflow published the package but did not tag the commit or connect the package to this repository.
scripts/release.tsnow, after publishing:v<version>on the workflow's commit via the Gitea API (skips if it exists)POST /packages/{owner}/npm/{name}/-/link/{repo}(skips if the package already has a repository)Publishing, tagging and linking are each idempotent, so starting the workflow again completes a release that already published but was never tagged or linked. The workflow now passes
SERVER_URL,REPOSITORYandSHA(replacingREGISTRY_URL).npm run checkpasseswrite:packageandwrite:repository(README updated). If the job token lacks either, add aPACKAGE_TOKENsecret🤖 Generated with Claude Code