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) {
|
execute('git tag', function (stdout) {
|
||||||
var versionList = [];
|
var versionList = [];
|
||||||
var occured = false;
|
|
||||||
tagList = stdout.split('\n').forEach(function (tag) {
|
tagList = stdout.split('\n').forEach(function (tag) {
|
||||||
if (tag == versionFrom) {
|
if (tag == versionFrom) {
|
||||||
occured = true;
|
versionList.push(tag);
|
||||||
}
|
}
|
||||||
if (!tag || tag == version) {
|
if (!tag || tag == version) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (occured) {
|
|
||||||
versionList.push(tag);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
|
|||||||
Reference in New Issue
Block a user