From 29f9a56144fa4a9a31878290b759ac847556e904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Tue, 1 Apr 2014 10:30:39 +0200 Subject: [PATCH] Build: Remove version in plugin json, update it during release --- build/release.js | 5 ++++- validation.jquery.json | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build/release.js b/build/release.js index ff9b78ee1..81a2f72cb 100644 --- a/build/release.js +++ b/build/release.js @@ -5,10 +5,13 @@ function today() { return new Date().toISOString().replace(/T.+/, ""); } +// also add version property to this +Release._jsonFiles.push( "validation.jquery.json" ); + Release.define({ issueTracker: "github", changelogShell: function() { - return Release.newVersion + " / " + today() + "\n==================\n"; + return Release.newVersion + " / " + today() + "\n==================\n\n"; }, generateArtifacts: function( done ) { diff --git a/validation.jquery.json b/validation.jquery.json index f353e60b2..3db00242c 100644 --- a/validation.jquery.json +++ b/validation.jquery.json @@ -7,7 +7,6 @@ "validation", "validate" ], - "version": "1.12.0pre", "author": { "name": "Jörn Zaefferer", "email": "joern.zaefferer@gmail.com", @@ -26,4 +25,4 @@ "dependencies": { "jquery": ">=1.4.4" } -} \ No newline at end of file +}