Ns release

From Melvynx/saveit.now · View interactive version

Ns release is an AI agent skill from the GitHub repository Melvynx/saveit.now. Cut a NowStack Mobile release. Bump version, generate changelog, and promote existing TestFlight/Play internal builds to production. Does not rebuild.

How to use this skill

Skill file

Release - NowStack Mobile

Ship the version that's already on TestFlight (iOS) and the Play internal track (Android) to production — with a real changelog and a version bump. This skill does not build; it bumps the version, writes the changelog/release notes, and hands the existing beta builds to ns-ios-distribute and ns-android-distribute for the production submission. If there's no build on a testing track yet, run ns-ios-testflight / ns-android-beta first.

<objective>

Turn "the beta build is verified" into "a versioned, documented production release" with one orchestrated flow: pick the version, generate the changelog, write store release notes, bump version files, then promote per platform and tag the release.

</objective>

<scope>

</scope>

<phase n="1" title="Preflight">

git status --short            # clean tree; commit/stash first
git rev-parse --abbrev-ref HEAD
uname -s || node -p "process.platform"

</phase>

<phase n="2" title="Pick the version">

Read the current marketing version (single source for the human-facing version):

grep -m1 "version:" mobile-app/app.config.ts        # e.g. version: '1.0.0'
node -p "require('./mobile-app/package.json').version"

Decide the bump with the user: patch (fixes), minor (features), major (breaking). Compute the new semver X.Y.Z.

Native build numbers (iOS buildNumber, Android versionCode) are auto-incremented by EAS (mobile-app/eas.json > autoIncrement: true) — do NOT hand-edit them.

</phase>

<phase n="3" title="Generate the changelog">

Collect commits since the last release tag:

LAST=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
git log ${LAST:+$LAST..}HEAD --no-merges --pretty="- %s"

From that list produce TWO things:

  1. CHANGELOG.md entry — a new ## vX.Y.Z — <date> section (developer-facing, grouped by feat/fix/chore). Prepend it under the title; pass the date in, don't invent one.
  2. Store release notes — a concise, user-facing "what's new" (≤500 chars, no commit hashes, no internal jargon). This is what App Store / Play reviewers and users read.

Show both to the user and let them edit before anything ships.

</phase>

<phase n="4" title="Bump version files">

Set the new X.Y.Z in both files (keep them in sync):

Commit the bump + changelog together:

git add mobile-app/app.config.ts mobile-app/package.json CHANGELOG.md
git commit -m "chore(release): vX.Y.Z"

</phase>

<phase n="5" title="Promote to production (per platform)">

Hand the store submission to the distribute skills, passing the store release notes from phase 3. Confirm with the user before each store mutation.

These can run in parallel; report each platform's outcome separately.

</phase>

<phase n="6" title="Tag the release">

After the submissions are accepted/queued, tag and push:

git tag vX.Y.Z
git push && git push --tags

The tag becomes the baseline for the next release's changelog (phase 3).

</phase>

<rules>

</rules>

<success_metrics>

</success_metrics>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.