diff options
author | Scott González <scott.gonzalez@gmail.com> | 2014-10-30 15:55:08 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-11-10 13:19:03 -0500 |
commit | b5f1ffdea4c3c4b41936e56d4cb23ca8acb2aaa8 (patch) | |
tree | 549f0cfc1e6996e9f88feca44df29a937ff9287c /build/release.js | |
parent | 347b2a5ecd02933c191a13596a5849960f8f4ad2 (diff) | |
download | jquery-ui-b5f1ffdea4c3c4b41936e56d4cb23ca8acb2aaa8.tar.gz jquery-ui-b5f1ffdea4c3c4b41936e56d4cb23ca8acb2aaa8.zip |
Build: Remove manifest files; move metadata to source files
Closes gh-1379
Diffstat (limited to 'build/release.js')
-rw-r--r-- | build/release.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/build/release.js b/build/release.js index abb972cb6..a55f8002c 100644 --- a/build/release.js +++ b/build/release.js @@ -65,8 +65,9 @@ Release.define({ "}</script>\n\nReleased on " + monthNames[ now.getMonth() ] + " " + now.getDate() + ", " + now.getFullYear() + "\n\n"; }, generateArtifacts: function( fn ) { - var files; - function copyCdnFiles() { + var files = replaceAtVersion(); + + buildCDNPackage(function copyCdnFiles() { var zipFile = shell.ls( "../jquery*-cdn.zip" )[ 0 ], tmpFolder = "../tmp-zip-output", unzipCommand = "unzip -o " + zipFile + " -d " + tmpFolder; @@ -82,11 +83,7 @@ Release.define({ shell.cp( tmpFolder + "/jquery-ui*.js", "dist/cdn" ); shell.cp( "-r", tmpFolder + "/themes", "dist/cdn" ); fn( files ); - } - - Release.exec( "grunt manifest" ); - files = shell.ls( "*.jquery.json" ).concat( replaceAtVersion() ); - buildCDNPackage( copyCdnFiles ); + }); } }); |