# Make Release

> Cut a new ICL release. Bumps version in icl.asd and icl.el, verifies the build and tests pass, generates release notes, commits, tags, and pushes. Use when asked to "release", "cut a release", "bump version", or "tag a new version". Use when this capability is needed.

- Skill: `tomevault-io/make-release` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/make-release`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/make-release/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/make-release

---


# Release ICL

Follow these steps exactly, stopping on any failure.

## 1. Determine version

If the user provided a version (`$ARGUMENTS`), validate that it matches `MAJOR.MINOR.PATCH` where each component is a non-negative integer (e.g. `1.24.0`). If it doesn't, stop and tell the user.

If no version was provided, suggest one:

1. Read the current version from `:version` in `icl.asd`.
2. Review commits since the last tag:
   ```bash
   git log $(git describe --tags --abbrev=0)..HEAD --oneline
   ```
3. Apply semver rules:
   - **MAJOR** bump: commits contain breaking changes (removed features, changed APIs, incompatible behavior)
   - **MINOR** bump: commits add new features, new commands, new capabilities
   - **PATCH** bump: commits are only bug fixes, documentation, or internal improvements
4. Present the suggested version with a one-line rationale and ask the user to confirm or override.

Use the confirmed version as VERSION for all subsequent steps.

**Check the tag doesn't already exist:**
```bash
git tag -l "vVERSION"
```
If output is non-empty, stop — this version has already been released.

**Ensure clean working tree:**
```bash
git status --porcelain
```
If there are staged or unstaged changes to **tracked** files, stop and ask the user to commit or stash first.

Then check untracked files. If any look like they don't belong in the repo (log files, binaries, build artifacts, temp files, editor backups, etc.), list them and ask the user whether to clean up, add to `.gitignore`, or proceed anyway. Benign untracked files (e.g. `.claude/`, local config) are fine to ignore silently.

**Verify git identity:**
```bash
git config user.email
```
If the result is not `green@moxielogic.com`, stop and tell the user their git email is misconfigured for this repository.

**Ensure we're on master and synced with remote:**
```bash
git branch --show-current
git fetch origin master
git rev-list HEAD..origin/master --count
```
If the branch is not `master`, or there are upstream commits not yet pulled, stop and tell the user.

**Check CI is green on HEAD:**
```bash
gh run list --branch master --limit 1 --json conclusion --jq '.[0].conclusion'
```
If the result is not `success`, stop and warn the user that CI is failing on master. Ask whether to proceed anyway.

## 2. Update version

Edit `icl.asd` and set `:version` to `"VERSION"`.

Edit `emacs/icl.el` and update the `Version:` header to `VERSION`.

## 3. Build and test

```bash
make clean && make 2>&1 | tail -5
```

If the build fails, stop and report the failure. Do NOT continue.

```bash
make test
```

If any tests fail, stop and report the failure. Do NOT continue.

## 4. Generate release notes

Create `docs/release-notes/RELEASE-NOTES-VERSION.md`.

To decide what goes in the notes, diff against the most recent tag:

```bash
git log $(git describe --tags --abbrev=0)..HEAD --oneline
```

Include ONLY user-facing changes:
- Bug fixes
- New features
- Breaking changes (if any)

Do NOT include internal changes (refactors, lint fixes, doc updates, CI changes, directory reorganization). Those are visible in the git log for anyone who needs them.

Match the voice and format of previous release notes in `docs/release-notes/`.

## 5. Commit

```bash
git add icl.asd emacs/icl.el docs/release-notes/RELEASE-NOTES-VERSION.md
git commit -m "Boost version to VERSION"
```

## 6. Tag and push

Ask the user for confirmation before pushing, then:

```bash
git tag -s vVERSION -m "Release VERSION"
git push origin master
git push origin vVERSION
```

Pushing the tag triggers GitHub Actions which automatically builds all packages (Linux binary, RPM, DEB, Windows ZIP/NSIS/MSI, macOS tarballs) and creates the GitHub release.

---
> Source: [atgreen/icl](https://github.com/atgreen/icl) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-07-01 -->

