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

release

Run pre-release validation and execute the release process via release.sh

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

Chemaclass/bashdep스타 19(GitHub 19 + cccskills 0)
연동 도구GitHub

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Release

Run pre-release checks then cut a new bashdep release via release.sh.

Arguments

  • $ARGUMENTS - Optional. Either an explicit version (0.5.0) or a bump flag (--major, --minor, --patch). Default: release.sh auto-bumps the minor version.

Current State

  • Current version: !grep -o 'BASHDEP_VERSION="[^"]*"' bashdep | cut -d'"' -f2
  • Branch: !git branch --show-current
  • Working tree: !git status --short
  • Unreleased changes: !awk '/^## \[Unreleased\]$/,/^## \[/' CHANGELOG.md | head -40

Instructions

1. Pre-flight validation

Run /pre-release first, or replay the critical checks here:

make test
make sa
make lint
grep -nE 'declare -A|mapfile|\$\{[A-Za-z_][A-Za-z0-9_]*,,\}' bashdep || echo "Bash 3.2+: OK"
gh run list --limit 3 --branch main
git status --short
git branch --show-current

If ANY check fails, stop and report. Do NOT proceed to release.

2. Confirm with user

Show a summary:

  • Current version → target version (resolved from $ARGUMENTS)
  • Key entries from CHANGELOG.md ## [Unreleased] (abbreviated)
  • All checks passed

Ask the user to confirm before running release.sh.

3. Dry-run the release

Always preview first - release.sh is idempotent in dry-run mode:

./release.sh $ARGUMENTS --dry-run

Show the user the proposed:

  • Version bump
  • CHANGELOG diff (renamed [Unreleased] section + new compare links)
  • Tag name

Ask for explicit confirmation before the real run.

4. Execute release

./release.sh $ARGUMENTS

release.sh will:

  1. Validate the version is semver and greater than current
  2. Confirm clean main, tag does not exist
  3. Bump BASHDEP_VERSION in bashdep
  4. Roll CHANGELOG.md: rename [Unreleased] → [X.Y.Z] - YYYY-MM-DD and refresh compare links
  5. Run make test sa lint as a release gate
  6. Commit chore(release): X.Y.Z and tag X.Y.Z
  7. Push commit + tag to the remote
  8. Create the GitHub release via gh release create and attach the bashdep script as the downloadable asset

The release URL is printed at the end.

5. Post-release verification

git log --oneline -1
git tag --list --sort=-v:refname | head -1
gh release view "$(git tag --list --sort=-v:refname | head -1)"

Verify:

  • Latest commit is chore(release): X.Y.Z
  • Latest tag matches the target version
  • GitHub release page lists the bashdep asset

Report the release URL to the user.

Useful flags

./release.sh --dry-run          # preview, no changes
./release.sh --patch            # auto-bump patch
./release.sh --major            # auto-bump major
./release.sh 0.5.0              # explicit version
./release.sh --no-gh            # skip GitHub release (still push tag)
./release.sh --force            # skip "Release X.Y.Z?" prompt (CI)

Example Usage

/release
/release --patch
/release 0.5.0

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add a new bashdep:: lifecycle command with TDD

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

Chemaclass/bashdep192026년 10월 20일 업데이트

commit

무료

Stage and commit changes using conventional commits format

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

Chemaclass/bashdep192026년 10월 20일 업데이트

Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit

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

Chemaclass/bashdep192026년 10월 20일 업데이트

fix-test

무료

Debug and fix failing bashdep tests systematically

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

Chemaclass/bashdep192026년 10월 20일 업데이트

gh-issue

무료

Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR

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

Chemaclass/bashdep192026년 10월 20일 업데이트

pr

무료

Push branch and create a GitHub PR following the bashdep PR template

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

Chemaclass/bashdep192026년 10월 20일 업데이트

Chemaclass의 스킬 모두 보기

이 스킬의 문제 신고