본문으로 건너뛰기
cccskills
무료GitHub에 공개

ci-publish

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

theophile-wallez/LichessNeo스타 31(GitHub 31 + 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 / 1,000자

이 양식은 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/LichessNeo312026년 10월 27일 업데이트

theophile-wallez의 스킬 모두 보기

이 스킬의 문제 신고