From 03135675b9be1111e528d224d86efb4a7b3e9c78 Mon Sep 17 00:00:00 2001 From: Hein Date: Wed, 23 Sep 2026 20:37:01 +0200 Subject: [PATCH] docs(publish): update publishing instructions for manual dispatch --- .gitea/workflows/publish.yml | 1 + AGENTS.md | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 17742db..c308d28 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -3,6 +3,7 @@ on: push: tags: - 'v*' + workflow_dispatch: jobs: publish: diff --git a/AGENTS.md b/AGENTS.md index 8338d39..e376d96 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -23,7 +23,8 @@ collection or sorting helpers. ## Publishing to Gitea Packages `.gitea/workflows/publish.yml` publishes `@warkypublic/artemis-kit` when a `v*` -tag is pushed to Gitea. The destination is +tag is pushed to Gitea or manually dispatched from the Actions UI. The +destination is `https://git.warky.dev/api/packages//npm/`, where `` is the Gitea repository's user or organization (not necessarily the npm scope `warkypublic`). @@ -34,7 +35,9 @@ repository's user or organization (not necessarily the npm scope `warkypublic`). 2. Run `pnpm exec changeset version` to apply pending changesets. Review and commit the updated version, changelog, and consumed changesets with the release changes. 3. Create and push a matching tag to the Gitea remote, for example `v1.1.0` for - package version `1.1.0`. The workflow rejects mismatched tags, runs the tests and + package version `1.1.0`. To dispatch manually, select that existing matching tag + as the workflow run ref in the Actions UI; the workflow rejects branch refs and + tags that do not exactly match the package version. It runs the tests and bundle checks, then publishes using pnpm so the `publishConfig` overrides point consumers to the built JavaScript and declarations.