grunt-hotbox-deploy
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -8,7 +8,7 @@ var gitInfo = require('./gitInfo'); | ||
var HTTP_PREFIX = 'https://' + options.bucket + '.' + options.endoint + '/'; | ||
var HTTP_PREFIX = task.data.httpPrefix || ('https://' + options.bucket + '.' + options.endoint + '/'); | ||
var TEMPLATES_PATH = path.join(gitInfo.GIT_BRANCH, 'templates'); | ||
var STATIC_PATH = path.join(gitInfo.GIT_BRANCH, 'static'); | ||
var VERSIONED_STATIC_PATH = path.join(STATIC_PATH, gitInfo.GIT_COMMIT); | ||
var TEMPLATES_PATH = path.join(task.data.forcedPath || gitInfo.GIT_BRANCH, 'templates'); | ||
var STATIC_PATH = path.join(task.data.forcedPath || gitInfo.GIT_BRANCH, 'static'); | ||
var VERSIONED_STATIC_PATH = path.join(STATIC_PATH, task.data.forcedPath || gitInfo.GIT_COMMIT); | ||
@@ -189,3 +189,5 @@ var staticFiles = []; | ||
grunt.task.run(['aws_s3:hotbox_deploy_static', 'aws_s3:hotbox_deploy_static_versioned', 'aws_s3:hotbox_deploy_templates']); | ||
if (!task.data.onlyBuild) { | ||
grunt.task.run(['aws_s3:hotbox_deploy_static', 'aws_s3:hotbox_deploy_static_versioned', 'aws_s3:hotbox_deploy_templates']); | ||
} | ||
}; |
{ | ||
"name": "grunt-hotbox-deploy", | ||
"description": "Grunt task for deploying front-end bundles to Hotbox", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"author": "e.dydykin@corp.mail.ru", | ||
@@ -6,0 +6,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22323
425