35 lines
747 B
JavaScript
35 lines
747 B
JavaScript
|
/*jshint node:true */
|
||
|
module.exports = function( Release ) {
|
||
|
|
||
|
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\n";
|
||
|
},
|
||
|
|
||
|
generateArtifacts: function( done ) {
|
||
|
Release.exec( "grunt release", "Grunt command failed" );
|
||
|
done([
|
||
|
"dist/additional-methods.js",
|
||
|
"dist/additional-methods.min.js",
|
||
|
"dist/jquery.validate.js",
|
||
|
"dist/jquery.validate.min.js"
|
||
|
]);
|
||
|
},
|
||
|
|
||
|
// disable CDN publishing
|
||
|
cdnPublish: false,
|
||
|
|
||
|
// disable authors check
|
||
|
_checkAuthorsTxt: function() {}
|
||
|
});
|
||
|
|
||
|
};
|