releasy 0.1.0 copy "releasy: ^0.1.0" to clipboard
releasy: ^0.1.0 copied to clipboard

A lightweight Dart CLI tool to automate version bumping, Git tagging, and GitHub releases.

๐Ÿ“ฆ 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!

1
likes
130
points
131
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Dart CLI tool to automate version bumping, Git tagging, and GitHub releases.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, yaml

More

Packages that depend on releasy