Skip to content

Commit

Permalink
Update gulpfile for release 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cambell-prince committed Aug 25, 2017
1 parent bd98104 commit 1ed470b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ gulp.task('package-zip', function(cb) {
src: "./",
name: "frontaccounting",
version: "2.4.RC1",
release: "-sgw_sales.module.1.2"
release: "-sgw_sales.module.1.3"
};
execute(
'rm -f *.zip && cd <%= src %> && zip -r -x@./upload-exclude-zip.txt -q ./<%= name %>-<%= version %><%= release %>.zip *',
'rm -f *.zip && cd <%= src %> && zip -r -x@./upload-exclude-zip.txt -y -q ./<%= name %>-<%= version %><%= release %>.zip *',
options,
cb
);
Expand All @@ -84,7 +84,7 @@ gulp.task('package-tar', function(cb) {
src: "./",
name: "frontaccounting",
version: "2.4.RC1",
release: "-sgw_sales.module.1.2"
release: "-sgw_sales.module.1.3"
};
execute(
'rm -f *.tgz && cd <%= src %> && tar -cvzf ./<%= name %>-<%= version %><%= release %>.tgz -X upload-exclude.txt *',
Expand Down Expand Up @@ -130,7 +130,7 @@ gulp.task('upload-demo', function(cb) {
*/
gulp.task('db-backup', function(cb) {
var options = {
dryRun: false,
dryRun : false,
silent : false,
dest : "[email protected]",
key : "~/.ssh/dev_rsa",
Expand All @@ -145,7 +145,7 @@ gulp.task('db-backup', function(cb) {

gulp.task('db-restore', function(cb) {
var options = {
dryRun: true,
dryRun : false,
silent : false,
dest : "[email protected]",
key : "~/.ssh/dev_rsa",
Expand Down
1 change: 1 addition & 0 deletions upload-exclude-zip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/.hgtags
*/.hgignore
*/node_modules/*
*/_frontaccounting/*
*/gulpfile.js
*/composer.*
*/package.json
Expand Down
1 change: 1 addition & 0 deletions upload-exclude.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.hg
.hgtags
.hgignore
_frontaccounting
node_modules
gulpfile.js
composer.*
Expand Down

0 comments on commit 1ed470b

Please sign in to comment.