mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 16:10:22 +00:00
chore(Grunt): don't remove root dir from zip
This commit is contained in:
parent
1516a69cd2
commit
ce53fbde50
1 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ module.exports = function(grunt) {
|
|||
grunt.loadTasks('lib/grunt');
|
||||
|
||||
var NG_VERSION = util.getVersion();
|
||||
var dist = 'angular-'+ NG_VERSION.full;
|
||||
|
||||
|
||||
//global beforeEach
|
||||
|
|
@ -147,8 +148,8 @@ module.exports = function(grunt) {
|
|||
|
||||
compress: {
|
||||
build: {
|
||||
options: {archive: 'build/angular-'+ NG_VERSION.full +'.zip'},
|
||||
src: ['**'], cwd: 'build', expand: true
|
||||
options: {archive: 'build/' + dist +'.zip'},
|
||||
src: ['**'], cwd: 'build', expand: true, dest: dist + '/'
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue