Skip to content
cccskills
FreePublished on GitHub

release

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

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19 stars(GitHub 19 + cccskills 0)
Works withGitHub

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Add a new bashdep:: lifecycle command with TDD

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19Updated Oct 20, 2026

commit

Free

Stage and commit changes using conventional commits format

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19Updated Oct 20, 2026

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

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19Updated Oct 20, 2026

Debug and fix failing bashdep tests systematically

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19Updated Oct 20, 2026

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

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19Updated Oct 20, 2026

pr

Free

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

The English summary is being prepared. Showing the original description.

Chemaclass/bashdep19Updated Oct 20, 2026

See all skills by Chemaclass

Report a problem with this skill