Skip to content

Commit

Permalink
PRESIDECMS-1527 Cachebuster for editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
sebduggan committed Mar 27, 2019
1 parent 960ea6a commit 6f0e141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions support/build/package.sh
Expand Up @@ -68,6 +68,7 @@ if [[ $TRAVIS_TAG == v* ]] || [[ $TRAVIS_BRANCH == release* ]] ; then

sed -i "s,VERSION_NUMBER,$VERSION_NUMBER," box.json
sed -i "s,VERSION_NUMBER,$VERSION_NUMBER," version.json
sed -i "s,VERSION_NUMBER,$VERSION_NUMBER," system/config/Config.cfc
sed -i "s,DOWNLOADLOCATION,$RELEASE_NAME\/Preside-$VERSION_NUMBER.zip," box.json

echo "";
Expand Down
2 changes: 1 addition & 1 deletion system/config/Config.cfc
Expand Up @@ -312,7 +312,7 @@ component {
, minHeight = 0
, maxHeight = 300
, autoParagraph = false
, configFile = "/ckeditorExtensions/config.js?v10.10.0"
, configFile = "/ckeditorExtensions/config.js?v=VERSION_NUMBER"
}
, toolbars = _getCkEditorToolbarConfig()
};
Expand Down

0 comments on commit 6f0e141

Please sign in to comment.