๐Ÿ“ฆ Releasy

Releasy is a developer-friendly CLI tool for Dart and Flutter projects that automates version bumping, Git tagging, and GitHub release creation. Built for developers who want to ship faster and smarter ๐Ÿš€.

Releasy CLI MIT License


โœจ Features

  • ๐Ÿ”– Prompt for version (e.g. v1.2.1)
  • ๐Ÿ“ Collect and attach markdown changelogs
  • ๐Ÿ“ฆ Auto-update pubspec.yaml with version + build number
  • ๐Ÿง  Prevent unintentional releases with built-in checks:
    • Uncommitted changes
    • Unpushed commits
    • Duplicate tags
  • ๐Ÿท๏ธ Create annotated Git tags
  • ๐Ÿš€ Push tags and draft GitHub releases with title & notes

๐Ÿš€ Usage

# Activate locally (in your Dart project root)
dart pub global activate --source path ./releasy

# Run it
releasy

Youโ€™ll be prompted to:

  • Enter version and title
  • Paste your changelog
  • Confirm Git changes
  • Automatically commit, tag, push, and draft a GitHub release

๐Ÿงช Example Flow

๐Ÿ“ฆ Releasy CLI โ€” Your Dart Release Assistant
๐Ÿ”– Enter release version: v1.2.1
๐Ÿ“ Enter release title: Update Loop Fix

โœ๏ธ Paste changelog below (Markdown). Press CTRL+D when done:

## What's New
- Fixed infinite update loop issue
- Improved release metadata from GitHub

โœ… pubspec.yaml updated
โœ… Git tag created
โœ… GitHub release drafted

๐Ÿ“‚ File structure

releasy/
โ”œโ”€โ”€ bin/                    # CLI entrypoint
โ”‚   โ””โ”€โ”€ releasy.dart
โ”œโ”€โ”€ lib/                    # Core logic
โ”‚   โ””โ”€โ”€ releasy.dart
โ”œโ”€โ”€ pubspec.yaml            # Dart package setup
โ”œโ”€โ”€ README.md               # You're reading this
โ”œโ”€โ”€ LICENSE                 # MIT licensed

๐Ÿ›ก๏ธ Requirements

  • โœ… Git installed
  • โœ… GitHub CLI (gh) installed and authenticated ๐Ÿ‘‰ Install GitHub CLI

๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป About the Author

Kennedy Owusu Frontend Engineer @ Kofa | Flutter, React & Laravel enthusiast ๐Ÿ”— kennedyowusu.com ยท GitHub


๐Ÿ“„ License

MIT ยฉ Kennedy Owusu Free for personal and commercial use.


โญ๏ธ Show Some Love

If you like it, star it โญ on GitHub. Contributions, issues, and PRs welcome!

Libraries

releasy