本文へ移動
cccskills
無料GitHub で公開

ci-publish

Send main to the Chrome Web Store and Firefox Add-ons, by tagging it `store-<version>`.

日本語の概要は準備中です。原文の説明を表示しています。

theophile-wallez/LichessNeoスター 29(GitHub 29 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

A store-<version> tag on origin/main's last commit runs the Release workflow in its store mode: the CI, then the store zip sent to the Chrome Web Store and the Firefox zip, with its sources, to Firefox Add-ons. Each store reviews it before it goes live. A version still in review on the Chrome Web Store is cancelled, and the new one takes its place. Arguments: $ARGUMENTS; refuse any.

Pass gh the origin repository (--repo <owner>/<repo>, from git remote get-url origin): the checkout has more than one remote.

  1. It runs on what GitHub has, not the local checkout: git fetch origin --tags, then compare origin/main with the local main. If local work isn't on origin/main yet, say so and stop: don't push for the user.
  2. v=$(node scripts/version.ts --ref origin/main): the version it gets.
  3. Check the secrets: gh secret list must show CWS_SERVICE_ACCOUNT, CWS_PUBLISHER_ID, AMO_JWT_ISSUER and AMO_JWT_SECRET. If one is missing, name it and stop: that store's job would fail.
  4. If store-$v exists on origin already, that commit was sent: say so and stop.
  5. Tag and push: git tag "store-$v" origin/main && git push origin "store-$v". Then find the run it made (gh run list --workflow release.yml --event push --limit 1 --json databaseId,url,headBranch, retrying briefly until its headBranch is the tag) and give its URL.
  6. Follow the run to its end: gh run watch <id> --exit-status in the background (it takes several minutes, the end-to-end tests most of it), then give each job's outcome (gh run view <id> --json jobs). If the CI fails, nothing was sent: name the failing tests (gh run view <id> --log-failed) and what they say, then delete the tag (git push origin :store-$v, git tag -d store-$v): it would say this version was sent. If store or amo fails, give its error line. If both pass, say each store has the version in review and, from the store job's Cancelled the review line, which version it replaced, if any.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

ci

無料

Start the release of main by hand (the CI, then a GitHub release of its zips), since no push runs it.

日本語の概要は準備中です。原文の説明を表示しています。

theophile-wallez/LichessNeo292026年10月26日 更新

theophile-wallez のスキルをすべて見る

このスキルの問題を報告する