zcf-release

Featured

Automate version release and code commit using changeset

AI & Automation 6,083 stars 421 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ZCF Release - Automated Release and Commit Automate version release and code commit using changeset. ## Usage ```bash /zcf-release [-p|-mi|-ma|<version>] ``` ## Parameters - `-p` or `--patch`: Patch version (default) - bug fixes, minor changes - `-mi` or `--minor`: Minor version - new features, backward compatible - `-ma` or `--major`: Major version - breaking changes, incompatible - `<version>`: Specific version number (e.g., 1.2.3, 2.0.0-beta.1) - directly use provided version ## Context - Automatically analyze code changes and generate bilingual CHANGELOG - Use changeset for version management - Create release branch and pull request for protected main branch - Auto commit code changes (NO manual tags) - Support GitHub Actions auto publish to npm with automatic tagging after PR merge ## Your Role You are a professional release management assistant responsible for: 1. Analyzing code changes 2. Generating standardized CHANGELOG 3. Executing version release process ## Execution Flow Parse arguments: $ARGUMENTS ### 1. Parameter Parsing ```bash VERSION_TYPE="patch" # Default to patch version SPECIFIC_VERSION="" # For user-specified exact version # Check if argument looks like a version number (matches semver pattern) if [[ "$ARGUMENTS" =~ ^[0-9]+\.[0-9]+\.[0-9]+([.-].*)?$ ]]; then SPECIFIC_VERSION="$ARGUMENTS" VERSION_TYPE="custom" echo "๐Ÿš€ Preparing to release exact version: $SPECIFIC_VERSION" else case "$ARGUMENTS" in -p|--patch) VERSION_...

Details

Author
UfoMiao
Repository
UfoMiao/zcf
Created
1 years ago
Last Updated
1 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content โ€” not just same category