summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2019-01-21 13:52:05 -0600
committerYorick Peterse <yorickpeterse@gmail.com>2019-01-31 16:52:21 +0100
commitb026db4dfc924e2d866f18f0bfd042d6464a224e (patch)
tree2fd46f517114d53eb560f0429d05e5414e148640
parent40983f4a9c960bac4eb59a54816ae63177015c51 (diff)
downloadgitlab-ce-b026db4dfc924e2d866f18f0bfd042d6464a224e.tar.gz
Bump the CACHE_COMMONMARK_VERSION
Since we needed to bump the version to 13 in the backports, and we know that an MR on master also bumped it to 13, bump to 14 to ensure that when a customer upgrades to the most recent release, the markdown gets recalcuated as necessary.
-rw-r--r--app/models/concerns/cache_markdown_field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/cache_markdown_field.rb b/app/models/concerns/cache_markdown_field.rb
index 73a27326f6c..002f3e17891 100644
--- a/app/models/concerns/cache_markdown_field.rb
+++ b/app/models/concerns/cache_markdown_field.rb
@@ -15,7 +15,7 @@ module CacheMarkdownField
# Increment this number every time the renderer changes its output
CACHE_REDCARPET_VERSION = 3
CACHE_COMMONMARK_VERSION_START = 10
- CACHE_COMMONMARK_VERSION = 13
+ CACHE_COMMONMARK_VERSION = 14
# changes to these attributes cause the cache to be invalidates
INVALIDATED_BY = %w[author project].freeze