diff --git a/announcement.gemspec b/announcement.gemspec index b2e32c0..6d073ea 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -88,6 +88,12 @@ all_template.each do |folder| rescue => e puts "not found #{folder}assets/stylesheets/template/base/_variables.scss" end + begin + puts "updating announcement show page" + Bundler.with_clean_env{%x[cp -f #{app_path}/modules/announcement/show.html.erb #{folder}modules/announcement/show.html.erb]} + rescue + puts "There has some error in updating announcement show page" + end end end if old_gemfile_text != new_gemfile_text