Skip to content

Commit

Permalink
Build: Remove version in plugin json, update it during release
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Apr 1, 2014
1 parent f5a995c commit 29f9a56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion build/release.js
Expand Up @@ -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 ) {
Expand Down
3 changes: 1 addition & 2 deletions validation.jquery.json
Expand Up @@ -7,7 +7,6 @@
"validation",
"validate"
],
"version": "1.12.0pre",
"author": {
"name": "Jörn Zaefferer",
"email": "joern.zaefferer@gmail.com",
Expand All @@ -26,4 +25,4 @@
"dependencies": {
"jquery": ">=1.4.4"
}
}
}

0 comments on commit 29f9a56

Please sign in to comment.