mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 05:53:52 +08:00
DEV: Add an option to skip a theme update from the themes:install task. (#12905)
A theme can now specify `skip_update: true` in the yml config for update allowing for the theme to be installed only if it does not already exist.
This commit is contained in:
@ -45,6 +45,7 @@ task "themes:install" => :environment do |task, args|
|
||||
puts " Installed: #{counts[:installed]}"
|
||||
puts " Updated: #{counts[:updated]}"
|
||||
puts " Errors: #{counts[:errors]}"
|
||||
puts " Skipped: #{counts[:skipped]}"
|
||||
|
||||
if counts[:errors] > 0
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user