diff only one version from
This commit is contained in:
@@ -141,17 +141,13 @@ execute('git diff --name-only ' + versionFrom, function (stdout) {
|
||||
|
||||
execute('git tag', function (stdout) {
|
||||
var versionList = [];
|
||||
var occured = false;
|
||||
tagList = stdout.split('\n').forEach(function (tag) {
|
||||
if (tag == versionFrom) {
|
||||
occured = true;
|
||||
versionList.push(tag);
|
||||
}
|
||||
if (!tag || tag == version) {
|
||||
return;
|
||||
}
|
||||
if (occured) {
|
||||
versionList.push(tag);
|
||||
}
|
||||
});
|
||||
|
||||
if (isDev) {
|
||||
|
||||
Reference in New Issue
Block a user