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

Commit 8a96393

Browse files
geddskiIgorMinar
authored andcommitted
chore(Grunt): don't remove root dir from zip
1 parent 49128cc commit 8a96393

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Gruntfile.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = function(grunt) {
1010
grunt.loadTasks('lib/grunt');
1111

1212
var NG_VERSION = util.getVersion();
13+
var dist = 'angular-'+ NG_VERSION.full;
1314

1415

1516
//global beforeEach
@@ -147,8 +148,8 @@ module.exports = function(grunt) {
147148

148149
compress: {
149150
build: {
150-
options: {archive: 'build/angular-'+ NG_VERSION.full +'.zip'},
151-
src: ['**'], cwd: 'build', expand: true
151+
options: {archive: 'build/' + dist +'.zip'},
152+
src: ['**'], cwd: 'build', expand: true, dest: dist + '/'
152153
}
153154
},
154155

0 commit comments

Comments
 (0)