aboutsummaryrefslogtreecommitdiffstats
path: root/build/release
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2016-03-09 12:06:17 -0500
committerTimmy Willison <timmywillisn@gmail.com>2016-03-14 10:37:11 -0400
commit0f5f0c981aeedf56fa5b395029cc06b40c3ac2f1 (patch)
tree7ba229de65a7180ea6b893abfcab96b3af0370bf /build/release
parent728ea2f27720a351a014b698fd66d25075c0c5e3 (diff)
downloadjquery-0f5f0c981aeedf56fa5b395029cc06b40c3ac2f1.tar.gz
jquery-0f5f0c981aeedf56fa5b395029cc06b40c3ac2f1.zip
Release: set version in source for releases
Fixes gh-2979 Close gh-2981
Diffstat (limited to 'build/release')
-rw-r--r--build/release/dist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/release/dist.js b/build/release/dist.js
index 7c3c29a29..66cc6cde7 100644
--- a/build/release/dist.js
+++ b/build/release/dist.js
@@ -67,6 +67,9 @@ module.exports = function( Release, files, complete ) {
shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist );
} );
+ // Remove the wrapper from the dist repo
+ shell.rm( "-f", Release.dir.dist + "/src/wrapper.js" );
+
// Write generated bower file
fs.writeFileSync( Release.dir.dist + "/bower.json", generateBower() );