releascribe_cli 0.3.0
releascribe_cli: ^0.3.0 copied to clipboard
Effortlessly manage software releases with advanced command-line interface.
releascribe_cli #
Overview #
releascribe
is a Dart-based CLI tool for automating software release management. It integrates with version control systems to generate changelogs, determine project versions, and apply versioning changes based on commit categories defined in a JSON file.
Installation #
Ensure Dart SDK is installed, then use Dart's package manager to install releascribe
globally:
dart pub global activate releascribe_cli
Usage #
Command Syntax #
releascribe release [-r <path_to_release_info_file>]
Options #
-r, --release-info-file <path>
: Path to a JSON file defining commit categories and their semantic versioning increments and output files.
Example #
release-info.json
Create release-info.json
:
{
"output": [
{"path": "CHANGELOG.md", "overwrite": false},
{"path": "release-notes.txt", "overwrite": true}
],
"changelog": [
{"type": "fix", "description": "๐ Bug Fixes", "increment": "patch"},
{"type": "feat", "description": "โจ Features", "increment": "minor"},
{"type": "refactor", "description": "โป๏ธ Code Refactoring", "increment": "patch"},
{"type": "perf", "description": "โก๏ธ Performance Improvements", "increment": "patch"},
{"type": "test", "description": "๐งช Tests", "increment": "patch"},
{"type": "docs", "description": "๐ Documentation", "increment": "patch"},
{"type": "build", "description": "๐งฑ Build System", "increment": "patch"},
{"type": "ci", "description": "๐๏ธ Continuous Integration", "increment": "patch"},
{"type": "chore", "description": "๐งน Chores", "increment": "patch"}
]
}
Running the Command
Generate a changelog and update versioning information:
releascribe release -r release-info.json
Notes #
- Ensure Dart SDK and
releascribe_cli
are correctly installed and accessible. - Customize
release-info.json
to match your project's commit categories and versioning conventions.