summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2019-01-21 13:52:05 -0600
committerBrett Walker <bwalker@gitlab.com>2019-01-21 13:52:05 -0600
commitac2d8af55c7f33ecb6a5d0bad008ad5f8c4706b9 (patch)
tree13ad51ee5aa329c07da633c22c7c1850a28dcd8c
parent7d823035657dd00568a4154dcc11779914058891 (diff)
downloadgitlab-ce-ac2d8af55c7f33ecb6a5d0bad008ad5f8c4706b9.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