Skip to content

ci: auto-tag, release and bump Hermes catalog entry - #10

Merged
Cloeille merged 3 commits into
mainfrom
ci/auto-release
Nov 4, 2026
Merged

Cloeille merged 3 commits into
mainfrom
ci/auto-release

Conversation

@Cloeille

@Cloeille Cloeille commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Every new plugin.yaml version on main now gets tagged, released, and a catalog bump PR on NousResearch/hermes-agent, debounced so a burst of merges releases once.

  • .github/workflows/release.yml: hourly cron plus manual workflow_dispatch (force skips the wait). Concurrency group release, contents: write.
  • scripts/release.sh (git, gh, sed, no other deps):
    • Exits already released when the version has a GitHub release.
    • Exits waiting while HEAD is under 3 h old (DEBOUNCE_HOURS), unless forced.
    • Runs check_refs.py, creates the annotated tag, pushes it, runs gh release create --generate-notes --latest.
    • With CATALOG_TOKEN: reuses the open Cloeille chore(plugin-catalog): bump pstack PR on upstream if one exists (else creates a branch on the fork), rewrites only sha: and version: of plugin-catalog/pstack.yaml, and creates or edits the PR with the rule 5 / rule 13 body. Without the token it warns and stops.
    • A version counts as released once its release exists, so a run that died after tagging resumes. FORCE=true on a released version reruns only the catalog step.
    • DRY_RUN=1 prints every mutating command.
  • README "Releasing" section. plugin.yaml bumped to 0.3.2.

Before the catalog step works: add a CATALOG_TOKEN repo secret (classic PAT from Cloeille, public_repo).

Checked with DRY_RUN=1 against the real repos: released version exits cleanly, recent HEAD waits, forced new version prints tag, release, PUT and PR commands and picks NousResearch/hermes-agent#143777 for reuse. bash -n, shellcheck, check_refs.py and a YAML parse all pass. No tag, release or catalog change was made for real.

@Cloeille
Cloeille merged commit 6a0746b into main Nov 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant