mogic/changelog-helper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mogic/changelog-helper

最新稳定版本:v1.4.2

Composer 安装命令:

composer create-project mogic/changelog-helper

包简介

A laravel zero application to maintain your CHANGELOG file based on keepachangelog.com

README 文档

README

Changelog-Helper is a set of commandline utilities for adding and releasing new CHANGELOG.md entries as defined by keepachangelog.com definition.

It helps with the creation of correct entries, version numbers, tags and the table of contents.

Static Analysis Tests Total Downloads Latest Stable Version

Documentation

The helper is built on top of the Laravel Zero components and uses git as an internal command.

Install

Via Composer

composer global require mogic/changelog-helper

To get a link index in your CHANGELOG, you have to set a env variable. Add it in your .env or set it global:

CHANGELOG_UNRELEASED_LINK=https://github.com/mogic-le/changelog-helper/compare/develop...main

Usage of commands

Add entry

You can run a one-liner using the add command:

changelog-helper add [added,changed,deprecated,fixed,...] This is a new entry line

Or you can use the same command in a interactive mode:

changelog-helper add

Add entry based on commits

You can use the same command in a interactive mode:

changelog-helper add-commit

Add new release

The release command creates a new release, based on your optional unreleased changes.

Optional: it commits the CHANGELOG.md changes and creates a tag on top of the last commit.

You can use run a one-liner:

changelog-helper release [major|minor|patch] 1|0

Or you can use the same command in a interactive mode:

changelog-helper release

Or you can use the same command and add a release number:

changelog-helper release 3.2.1

Environmet variables

  • CHANGELOG_RELEASE_MESSAGE

Build & release new version

To build a new release version, we have to create the build with the release tag to create after.

./changelog-helper app:build changelog-helper --build-version=1.x.x
git add ./builds/changelog-helper
./changelog-helper add added Added new release build
git add ./builds/changelog-helper
git add ./CHANGELOG.md
./changelog-helper release minor 1.x.x
git push && git push --tags

The same flow is wrapped in release.sh, which prints the latest version and prompts for the next one (major/minor/patch/custom):

./release.sh

Author

Changelog-Helper was created by Stefan Berger from MOGIC.

License

Changelog-Helper is an open-source software licensed under the MIT license.

Tests

run ./vendor/bin/pest

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固