npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nashihamm/capacitor-release-cli

v1.0.0

Published

CLI tool to automate mobile app releases for React Native and Capacitor projects

Readme

Capacitor Release CLI

🚀 CLI tool to automate mobile app releases for React Native and Capacitor projects.

npm version License: MIT

Features

  • Android Automation (60% automated)

    • Version management
    • Build & signing
    • AAB archiving with timestamps
    • Git integration
  • iOS Automation (50% automated)

    • Version management
    • Asset generation (icons & splash)
    • Build preparation
    • IPA archiving
  • Additional Features

    • Interactive setup
    • Configuration management
    • Changelog generation
    • Version bumping

Installation

# Global installation
npm install -g @nashihamm/capacitor-release-cli

# Or with pnpm
pnpm add -g @nashihamm/capacitor-release-cli

Quick Start

1. Initialize in Your Project

cd your-capacitor-project
cap-release init

This will:

  • Copy automation scripts to scripts/
  • Copy documentation to docs/
  • Create releases/ directory
  • Update .gitignore

2. Configure (Optional)

cap-release config

3. Release Android

cap-release android 1.0.0 minor

4. Release iOS

cap-release ios 1.0.0 1

Commands

cap-release init

Initialize automation in current project

cap-release android <version> [type]

Release Android app

  • version: Version number (e.g., 1.0.0)
  • type: Release type (major, minor, patch)

Example:

cap-release android 1.2.0 minor

cap-release ios <version> <build>

Release iOS app

  • version: Version number (e.g., 1.0.0)
  • build: Build number (e.g., 1)

Example:

cap-release ios 1.2.0 5

cap-release config

Configure automation settings interactively

cap-release version <type>

Bump version (major, minor, patch)

Example:

cap-release version patch

cap-release changelog [days]

Generate changelog from git history

Example:

cap-release changelog 7

What Gets Automated

Android (60% automated)

✅ Pull latest code
✅ Update version in build.gradle
✅ Build signed AAB
✅ Archive with timestamp
✅ Git commit & tag
⚠️ Manual: Upload to Play Console

iOS (50% automated)

✅ Pull latest code
✅ Update version in Info.plist
✅ Generate icons & splash screens
✅ Build & sync to iOS
⚠️ Manual: Archive in Xcode
⚠️ Manual: Upload to App Store Connect

Requirements

For Android

  • Node.js >= 14
  • Android SDK
  • Gradle
  • Java 21

For iOS

  • macOS
  • Xcode
  • CocoaPods (optional)

Documentation

After running cap-release init, check:

  • docs/automation/SCRIPT-REFERENCE.md - Complete script guide
  • docs/release/workflow-complete.md - Full release workflow
  • docs/release/RELEASE-CHECKLIST.md - Step-by-step checklist

Configuration

Create cap-release.config.json in your project:

{
  "appName": "myapp",
  "androidPackage": "com.myapp",
  "iosBundleId": "com.myapp"
}

Or run cap-release config for interactive setup.

Examples

Complete Android Release

# 1. Initialize (first time only)
cap-release init

# 2. Configure Android signing
# Edit android/key.properties

# 3. Release
cap-release android 1.0.0 minor

# 4. Upload AAB to Play Console
# File: releases/android/myapp-v1.0.0-build1-latest.aab

Complete iOS Release

# 1. Initialize (first time only)
cap-release init

# 2. Prepare release
cap-release ios 1.0.0 1

# 3. Archive in Xcode
# Product → Archive

# 4. Distribute to App Store Connect

Troubleshooting

Android build fails

# Clean build
cd android
./gradlew clean
cd ..

# Try again
cap-release android 1.0.0 minor

iOS version not updating

# Check Info.plist exists
ls ios/App/App/Info.plist

# Manually update if needed

Scripts not executable

chmod +x scripts/*.sh

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

MIT © Nashih Amin

Author

Nashih Amin

Acknowledgments

  • Built for automating Capacitor mobile app releases
  • Inspired by the need for faster, more reliable mobile deployments
  • Thanks to the Capacitor and React Native communities

Support


Made with ❤️ for the mobile development community