|
|
|
@ -4,7 +4,7 @@ var sequential = require('./sequential'); |
|
|
|
|
|
|
|
|
|
module.exports = function (params, processor) { |
|
|
|
|
var date = new Date(), |
|
|
|
|
version = (params.major || "0") + "." + date.getFullYear() + "." + ((date.getMonth() + 1) * 100 + date.getDate()) + "." + ((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds()), |
|
|
|
|
version = params.version || ((params.major || "0") + "." + date.getFullYear() + "." + ((date.getMonth() + 1) * 100 + date.getDate()) + "." + ((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds())), |
|
|
|
|
nupkg = processor.context.exported + "/" + params.name + "." + version + ".nupkg"; |
|
|
|
|
|
|
|
|
|
return sequential({ |
|
|
|
|