capistrano-magento2 0.5.0 → 0.5.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/pending.rake +4 -3
- 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: c70875523d467d28282759e10da425d311ef296a
|
4
|
+
data.tar.gz: a78aa7e50f18a2887b809c9690d60e144afa9bb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57f001fb10116d18324e63123f2cef319cc021bab5db665236cdad2f22d913ea421b6dfc4d4766646069add89855a6128fb7fcf531365076dba74916edd32732
|
7
|
+
data.tar.gz: 3f00d2b698c2b1ebd3e46522a08fcc10fe9d3200d96fcf73b50c3494aeb10f137ca6640230a975899b98a396980bcd4f2c544314babb6be38ce0fa53a368252d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Capistrano::Magento2 Change Log
|
2
2
|
|
3
|
+
0.5.1
|
4
|
+
==========
|
5
|
+
|
6
|
+
* Fixed usability regression causing deploy confirmation to occur prior to display of `capistrano/magento2/pending` output when in use (issue #28)
|
7
|
+
* Fixed "REVISION file doesn't exist" error when deploying for the first time when `capistrano/magento2/pending` is loaded
|
8
|
+
* Fixed issue breaking initial deploy when `:magento_deploy_maintenance` is set to true
|
9
|
+
|
3
10
|
0.5.0
|
4
11
|
==========
|
5
12
|
|
@@ -29,7 +29,7 @@ namespace :deploy do
|
|
29
29
|
end
|
30
30
|
invoke 'magento:setup:permissions'
|
31
31
|
invoke 'magento:maintenance:enable' if fetch(:magento_deploy_maintenance)
|
32
|
-
if test "[ -
|
32
|
+
if test "[ -f #{current_path}/bin/magento ]"
|
33
33
|
within current_path do
|
34
34
|
execute :magento, 'maintenance:enable' if fetch(:magento_deploy_maintenance)
|
35
35
|
end
|
@@ -9,15 +9,16 @@
|
|
9
9
|
|
10
10
|
require 'capistrano-pending'
|
11
11
|
|
12
|
+
before :deploy, 'deploy:pending:check_changes'
|
12
13
|
namespace :deploy do
|
13
|
-
|
14
|
-
|
14
|
+
|
15
15
|
namespace :pending do
|
16
16
|
# Check for pending changes and notify user of incoming changes or warn them that there are no changes
|
17
|
-
task :check_changes
|
17
|
+
task :check_changes do
|
18
18
|
on roles fetch(:capistrano_pending_role, :app) do |host|
|
19
19
|
# check for pending changes only if REVISION file exists to prevent error
|
20
20
|
if test "[ -f #{current_path}/REVISION ]"
|
21
|
+
invoke 'deploy:pending:setup'
|
21
22
|
from = fetch(:revision)
|
22
23
|
to = fetch(:branch)
|
23
24
|
|
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.5.
|
4
|
+
version: 0.5.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: 2016-09-
|
11
|
+
date: 2016-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|