From 1d6a45d1f989ae8d0e6f7cabb41833ae93dad12a Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Fri, 11 Feb 2022 14:33:04 +0800 Subject: [PATCH] DEV: Bump Theme::BASE_COMPILER_VERSION. (#15906) In 8e5b945b0ffd8ab5f5156ae52e460cef0136a551, we reverted the commit but at the same time resulted in Theme::BASE_COMPILER_VERSION going backwards which caused problems with themes caching. This commit bumps the version to clear all the caches. Follow-up to 8e5b945b0ffd8ab5f5156ae52e460cef0136a551 --- app/models/theme.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/theme.rb b/app/models/theme.rb index c7b3def3050..5fcaf5f436a 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -152,7 +152,8 @@ class Theme < ActiveRecord::Base SvgSprite.expire_cache end - BASE_COMPILER_VERSION = 51 + BASE_COMPILER_VERSION = 53 + def self.compiler_version get_set_cache "compiler_version" do dependencies = [