File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ UNRELEASED
6
6
* Added ability to only deploy specific themes via the new ` :magento_deploy_themes ` array
7
7
* Added ` :magento_deploy_confim ` setting which requires user confirmation of deployment to specific capistrano stages
8
8
* Added call to pre-generate secure RequireJS config (issue #21 )
9
+ * Added workaround for Magento 2.1 specific bug where lack of a deployed_version.txt file would fail static asset deploy
9
10
* Updated formatting of pending deployment messaging
10
11
* Updated composer calls to specify --no-dev and --optimize-autoloader when ` :magento_deploy_production ` is not set (issue #22 , #23 )
11
12
* Fixed bug causing maintenance mode to be enabled on deploy even when ` :magento_deploy_maintenance ` was set to false
Original file line number Diff line number Diff line change @@ -190,6 +190,10 @@ namespace :magento do
190
190
# Output is being checked for a success message because this command may easily fail due to customizations
191
191
# and 2.0.x CLI commands do not return error exit codes on failure. See magento/magento2#3060 for details.
192
192
within release_path do
193
+
194
+ # Workaround for 2.1 specific issue: https://github.com/magento/magento2/pull/6437
195
+ execute "touch #{ release_path } /pub/static/deployed_version.txt"
196
+
193
197
output = capture :magento ,
194
198
"setup:static-content:deploy #{ deploy_languages } #{ deploy_themes } | stdbuf -o0 tr -d ." ,
195
199
verbosity : Logger ::INFO
You can’t perform that action at this time.
0 commit comments