追溯使用 grunt-conventional-changelog
Using grunt-conventional-changelog retroactively
我在构建过程中使用了 grunt-conventional-changelog,它很棒。但是,在我将此任务添加到我的构建流程之前,我似乎无法弄清楚如何让这个繁琐的任务来解析我以前的所有提交和 git 标记。
我可以指定一个选项来追溯浏览我的 git 历史记录并生成更新日志吗?我似乎无法修改其当前解析自上次 运行 grunt changelog
.
以来的最新提交的行为
谢谢!
使用 git-changelog grunt 插件,它提供了一个选项 tag
用于指定要从中生成更新日志的 git 标记(从一开始就为提交提供 false )
git_changelog: {
extended: {
options: {
repo_url: 'https://github.com/repo/repo-name',
app_name: 'Repo Name',
tag: false //False for commits since the beginning
}
}
}
我在构建过程中使用了 grunt-conventional-changelog,它很棒。但是,在我将此任务添加到我的构建流程之前,我似乎无法弄清楚如何让这个繁琐的任务来解析我以前的所有提交和 git 标记。
我可以指定一个选项来追溯浏览我的 git 历史记录并生成更新日志吗?我似乎无法修改其当前解析自上次 运行 grunt changelog
.
谢谢!
使用 git-changelog grunt 插件,它提供了一个选项 tag
用于指定要从中生成更新日志的 git 标记(从一开始就为提交提供 false )
git_changelog: {
extended: {
options: {
repo_url: 'https://github.com/repo/repo-name',
app_name: 'Repo Name',
tag: false //False for commits since the beginning
}
}
}