Version Bump Skill
Use this skill when preparing a new release by bumping the library version.
Steps
mix.exs— Update the@versionmodule attribute to the new version string.lib/swoosh.ex— Update the@versionmodule attribute to matchmix.exs.CHANGELOG.md— Get the changelog content from the GitHub draft release (gh release view <tag>). Adapt the heading levels to use###(the draft uses##). Exclude the⛓️ Dependencysection (deps bumps). Add the new entry at the top of the changelog below the# Changelogheading.README.md— Update the dependency version in the installation snippet only for minor or major version bumps (i.e. when the minor or major component changes). Do not updateREADME.mdfor patch releases.Example: bumping
1.22.1 → 1.23.0(minor bump) requires updating~> 1.22to~> 1.23inREADME.md. Bumping1.22.0 → 1.22.1(patch) does not.Commit and push — Commit all changed files and push to
main.Wait for Release Drafter — Poll
gh run listuntil the Release Drafter workflow run triggered by the push completes.Update draft release — Edit the GitHub draft release to match the new version tag and title (e.g.
v1.23.1 🚀). Do not publish the release.
Source: swoosh/swoosh — distributed by TomeVault.