capistrano-magento2 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/capistrano/magento2/version.rb +1 -1
- data/lib/capistrano/tasks/deploy.rake +1 -1
- data/lib/capistrano/tasks/magento.rake +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14813882851519f0585e260ccab51fc9ae4e1f40
|
4
|
+
data.tar.gz: 41b34bfd696df87fc7c6cea190d7ea14185d8659
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d6b8420a7a06bdb2a8b6488467c58b122c77174d95cb71308662b1c57a6f97c2e0ceb71f40973f83313b6f5b5c0bb296b35fb8005e7ec59f6537764aeb326ce
|
7
|
+
data.tar.gz: 2317f56904fd1de989e3ab050e2848f91e21800dfdd148a78bae21a57bdb785392613b6fb622faab8cadddbfd6053d23efd48aefc1f6903d5d3609a77378ac89
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Capistrano::Magento2 Change Log
|
2
2
|
|
3
|
+
0.7.1
|
4
|
+
==========
|
5
|
+
|
6
|
+
* Fixed deploy routine so production mode is no longer enabled automatically when `:magento_deploy_production` is false
|
7
|
+
* Fixed regression in multi-lingual deployment (reverted boxing workaround with 2.1.7 upper limit; release notes are wrong and the issue persists in 2.1.8)
|
8
|
+
* Updated double run of static content deploy to only apply to versions prior to 2.1.8 (underling issue was resolved in 2.1.8)
|
9
|
+
|
3
10
|
0.7.0
|
4
11
|
==========
|
5
12
|
|
@@ -26,8 +26,8 @@ namespace :deploy do
|
|
26
26
|
invoke 'magento:composer:install' if fetch(:magento_deploy_composer)
|
27
27
|
invoke 'magento:deploy:version_check'
|
28
28
|
invoke 'magento:setup:permissions'
|
29
|
-
invoke 'magento:deploy:mode:production'
|
30
29
|
if fetch(:magento_deploy_production)
|
30
|
+
invoke 'magento:deploy:mode:production'
|
31
31
|
invoke 'magento:setup:static-content:deploy'
|
32
32
|
invoke 'magento:setup:di:compile'
|
33
33
|
end
|
@@ -303,9 +303,9 @@ namespace :magento do
|
|
303
303
|
deploy_jobs = nil
|
304
304
|
end
|
305
305
|
|
306
|
-
# Workaround core-bug with multi-lingual deployments on Magento 2.1.3
|
307
|
-
# language must be iterated
|
308
|
-
if _magento_version >= Gem::Version.new('2.1.3')
|
306
|
+
# Workaround core-bug with multi-lingual deployments on Magento 2.1.3 and greater. In these versions each
|
307
|
+
# language must be iterated individually. See issue #72 for details.
|
308
|
+
if _magento_version >= Gem::Version.new('2.1.3')
|
309
309
|
deploy_languages = fetch(:magento_deploy_languages)
|
310
310
|
else
|
311
311
|
deploy_languages = [fetch(:magento_deploy_languages).join(' ')]
|
@@ -315,20 +315,20 @@ namespace :magento do
|
|
315
315
|
# Magento 2.1 will fail to deploy if this file does not exist and static asset signing is enabled
|
316
316
|
execute "touch #{release_path}/pub/static/deployed_version.txt"
|
317
317
|
|
318
|
-
# This loop exists to support deploy on
|
318
|
+
# This loop exists to support deploy on versions where each language must be deployed seperately
|
319
319
|
deploy_languages.each do |lang|
|
320
320
|
static_content_deploy "#{deploy_jobs}#{lang}#{deploy_themes}"
|
321
321
|
end
|
322
322
|
end
|
323
323
|
|
324
|
-
# Run again with HTTPS env var set to 'on' to pre-generate secure versions of RequireJS configs
|
325
|
-
#
|
326
|
-
if _magento_version < Gem::Version.new('2.
|
324
|
+
# Run again with HTTPS env var set to 'on' to pre-generate secure versions of RequireJS configs. A
|
325
|
+
# single run on these Magento versions will fail to generate the secure requirejs-config.js file.
|
326
|
+
if _magento_version < Gem::Version.new('2.1.8')
|
327
327
|
deploy_flags = ['css', 'less', 'images', 'fonts', 'html', 'misc', 'html-minify']
|
328
328
|
.join(' --no-').prepend(' --no-');
|
329
329
|
|
330
330
|
within release_path do with(https: 'on') {
|
331
|
-
# This loop exists to support deploy on
|
331
|
+
# This loop exists to support deploy on versions where each language must be deployed seperately
|
332
332
|
deploy_languages.each do |lang|
|
333
333
|
static_content_deploy "#{deploy_jobs}#{lang}#{deploy_themes}#{deploy_flags}"
|
334
334
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-magento2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Alger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|