|
|
@ -22,10 +22,10 @@ module.exports = function (params, processor) { |
|
|
|
version = date.getFullYear() + "." + |
|
|
|
version = date.getFullYear() + "." + |
|
|
|
(date.getMonth() + 1) + "." + |
|
|
|
(date.getMonth() + 1) + "." + |
|
|
|
date.getDate() + "." + |
|
|
|
date.getDate() + "." + |
|
|
|
((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds()) + " (" + |
|
|
|
(date.getHours() * 100 + date.getMinutes()) + "; " + |
|
|
|
"built from " + processor.context.rev + "; " + |
|
|
|
"built from " + processor.context.rev + "; " + |
|
|
|
"repository: " + processor.context.owner + "/" + processor.context.reponame + "; " + |
|
|
|
"repository: " + processor.context.owner + "/" + processor.context.reponame + "; " + |
|
|
|
"branch: " + processor.context.branch + ")", |
|
|
|
"branch: " + processor.context.branch, |
|
|
|
processAssemblyInfo = function (content, cb) { |
|
|
|
processAssemblyInfo = function (content, cb) { |
|
|
|
if (!params.skipCodeSigning && !settings.skipCodeSigning) { |
|
|
|
if (!params.skipCodeSigning && !settings.skipCodeSigning) { |
|
|
|
content = content.replace( |
|
|
|
content = content.replace( |
|
|
@ -35,7 +35,7 @@ module.exports = function (params, processor) { |
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
content = addAssemblyAttribute(content, "[assembly: AssemblyInformationalVersion(\"v" + version + "\")]"); |
|
|
|
content = addAssemblyAttribute(content, "[assembly: AssemblyInformationalVersion(\"" + version + "\")]"); |
|
|
|
return cb(null, content); |
|
|
|
return cb(null, content); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|