dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
parent
668730e1da
commit
80c1b3d57c
@ -1,14 +1,24 @@ |
|||||||
"use strict"; |
"use strict"; |
||||||
|
|
||||||
var dotNetBuilderWrapper = require('./dotnetbuilderwrapper'); |
var sequential = require('./sequential'); |
||||||
|
|
||||||
module.exports = function (params, processor) { |
module.exports = function (params, processor) { |
||||||
var date = new Date(); |
var date = new Date(), |
||||||
return dotNetBuilderWrapper({ |
version = (params.major || "0") + "." + date.getFullYear() + "." + ((date.getMonth() + 1) * 100 + date.getDate()) + "." + ((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds()), |
||||||
command: "nugetpack", |
nupkg = processor.context.exported + "/" + params.name + "." + version + ".nupkg"; |
||||||
BaseDirectory: processor.context.exported, |
|
||||||
SpecPath: processor.context.exported + "/" + params.nuspec, |
return sequential({ |
||||||
OutputDirectory: processor.context.release, |
tasks: [ |
||||||
Version: (params.major || "0") + "." + date.getFullYear() + "." + ((date.getMonth() + 1) * 100 + date.getDate()) + "." + ((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds()) |
{ |
||||||
|
type: "dotnetbuilderwrapper", |
||||||
|
params: { |
||||||
|
command: "nugetpack", |
||||||
|
BaseDirectory: processor.context.exported, |
||||||
|
SpecPath: processor.context.exported + "/" + params.nuspec, |
||||||
|
OutputDirectory: processor.context.exported, |
||||||
|
Version: version |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
}, processor); |
}, processor); |
||||||
}; |
}; |
||||||
|
Loading…
Reference in new issue