Skip to content

feat(tagger): use gh CLI for fast tagging via API#157

Open
skjnldsv wants to merge 1 commit into
masterfrom
feat/tagger-gh-api
Open

feat(tagger): use gh CLI for fast tagging via API#157
skjnldsv wants to merge 1 commit into
masterfrom
feat/tagger-gh-api

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

@skjnldsv skjnldsv commented May 28, 2026

Summary

  • Use gh release create + gh release delete to create tags without cloning repos
  • Falls back to existing clone + signed tag approach when gh CLI is unavailable or when using historic date tagging
  • Skips repos that already have a release for the tag (e.g. server, which creates its own release separately)
  • Reduces tagging time from minutes (cloning ~30 repos) to seconds

Notes

I kept the old clone/tag/push fallback as I know some of us at NC wanna keep independence from MS

Instead of cloning each repository to create tags, use `gh release
create` + `gh release delete` which leaves the tag in place. This
avoids cloning ~30 repos and completes in seconds instead of minutes.

Falls back to the existing clone + signed tag approach when `gh` is
not available or when using historic date tagging.

Skips repos that already have a release for the tag (e.g. server).

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv skjnldsv requested review from Altahrim and blizzz May 28, 2026 19:24
@skjnldsv skjnldsv self-assigned this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant