Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 8ed9aff

Browse files
committed
Removed zip file from Grunt deploy:assets task
In the future this file will be served via the GitHub releases feature. Part of issue stevenbenner#148.
1 parent 5418f49 commit 8ed9aff

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Gruntfile.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ module.exports = function(grunt) {
180180
dest: 'index.md',
181181
nonull: true
182182
},
183-
zipassets: {
184-
src: [ '<%= buildpath %>/<%= files.zip %>' ],
185-
dest: 'releases/<%= files.zip %>',
186-
nonull: true
187-
},
188183
jsassets: {
189184
src: [ '<%= buildpath %>/<%= files.cat %>' ],
190185
dest: 'scripts/<%= files.cat %>',
@@ -253,7 +248,6 @@ module.exports = function(grunt) {
253248
},
254249
addassets: {
255250
command: [
256-
'git add releases/<%= files.zip %>',
257251
'git add scripts/<%= files.cat %>',
258252
'git add styles/jquery.powertip*.css',
259253
'git commit -m "Publishing assets."'
@@ -293,5 +287,5 @@ module.exports = function(grunt) {
293287
grunt.registerTask('build:npm', [ 'clean:dist', 'build' ]);
294288
grunt.registerTask('travis', [ 'test' ]);
295289
grunt.registerTask('deploy:docs', [ 'build:gh-pages', 'shell:checkoutpages', 'copy:index', 'shell:addindex', 'shell:checkoutmaster' ]);
296-
grunt.registerTask('deploy:assets', [ 'build:release', 'shell:checkoutpages', 'copy:zipassets', 'copy:jsassets', 'copy:cssassets', 'shell:addassets', 'shell:checkoutmaster' ]);
290+
grunt.registerTask('deploy:assets', [ 'build:release', 'shell:checkoutpages', 'copy:jsassets', 'copy:cssassets', 'shell:addassets', 'shell:checkoutmaster' ]);
297291
};

0 commit comments

Comments
 (0)