Skip to content

Commit

Permalink
Release: Add jquery-release script
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Oct 26, 2018
1 parent 3116795 commit 37bd7c3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions build/release.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* eslint-env node */
module.exports = function( Release ) {

var files = [
"dist/sizzle.js",
"dist/sizzle.min.js",
"dist/sizzle.min.map"
];

Release.define( {
npmPublish: true,
issueTracker: "github",

generateArtifacts: function( done ) {
Release.exec( "grunt", "Grunt command failed" );
done( files );
},

// TODO Add Sizzle to the CDN, or add public opt-out interfaces to jquery-release
_copyCdnArtifacts: function() {
console.warn( "Skipping CDN artifact copy." );
},
_pushToCdn: function() {
console.warn( "Skipping CDN push." );
}
} );

};

0 comments on commit 37bd7c3

Please sign in to comment.