# autochangelog **Repository Path**: quant1x/autochangelog ## Basic Information - **Project Name**: autochangelog - **Description**: git仓库自动输出ChangeLog - **Primary Language**: Shell - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2023-04-23 - **Last Updated**: 2025-09-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README AutoChangeLog === ## 1. shell实现的changelog ### 1.1. 首次使用change, 需要初始化CHANGELOG.md ```shell change init ``` ### 1.2. 提取新增的tag, 添加commit信息到CHANGELOG.md ```shell change ``` ### 1.3. 重置tag, 以保持当前代码commit id为最新的tag ```shell change tag ``` ## 2. go实现的changelog ### 2.1. 默认, 自动提取全部tag的commit信息, 修订版本号+1, 主版本号和次版本号不变 ```shell autochangelog ``` 相当于 ```shell autochangelog [patch|2] ``` ### 2.2. 自动提取全部tag的commit信息, 次版本号+1, 主版本号不变, 修订版本号重置为0 ```shell autochangelog [minor|1] ``` ### 2.3. 自动提取全部tag的commit信息, 主版本号+1, 次版本号和修订版本号重置为0 ```shell autochangelog [major|0] ```