From ace3f1e9c82461c008034a41c82c7f4b4d8240b4 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 10 Jan 2014 10:47:40 +0400 Subject: [PATCH] Fixed version bug --- BuildServer/lib/tasks/dotnetnugetpush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildServer/lib/tasks/dotnetnugetpush.js b/BuildServer/lib/tasks/dotnetnugetpush.js index 935e207..3c8d217 100644 --- a/BuildServer/lib/tasks/dotnetnugetpush.js +++ b/BuildServer/lib/tasks/dotnetnugetpush.js @@ -5,7 +5,7 @@ var settings = require("../../settings"); module.exports = function (params, processor) { var date = new Date(), - version = (params.major || "0") + "." + date.getFullYear() + "." + ((date.getMonth() + 1) * 100 + date.getDay()) + "." + ((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds()); + version = (params.major || "0") + "." + date.getFullYear() + "." + ((date.getMonth() + 1) * 100 + date.getDate()) + "." + ((date.getHours() * 100 + date.getMinutes()) * 100 + date.getSeconds()); return sequential({ tasks: [