本文へ移動
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 / 1000 文字

このフォームは 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 のスキルをすべて見る

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