Introduced *-latest files for plugin assets
Change-Id: I1271b0f18ab94b741a063c0b3d9a034a83f7b63c
diff --git a/Changes b/Changes
index 4e0950e..3687cf1 100755
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-0.39 2020-09-22
+0.39 2020-09-24
- Add information on secret file to Readme.
- Change default API endpoint to korap.ids-mannheim.de.
- Fix label for toggle plugins.
@@ -17,6 +17,8 @@
- Added banner style.
- Introduced early 'Plugins' plugin to embed external
services.
+ - Introduced *-latest.css/*-latest.js files for plugin
+ assets.
WARNING: If you relied on the former default API endpoint
being http://localhost:9999/, this will break your
diff --git a/Gruntfile.js b/Gruntfile.js
index 8fa7819..0b98b75 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -137,6 +137,16 @@
src: 'dev/robots.txt',
dest: 'public/robots.txt',
timestamp: true
+ },
+ {
+ src: 'public/css/kalamar-plugin-<%= pkg.pluginVersion %>.css',
+ dest: 'public/css/kalamar-plugin-latest.css',
+ timestamp: true
+ },
+ {
+ src: 'public/js/korap-plugin-<%= pkg.pluginVersion %>.js',
+ dest: 'public/js/kalamar-plugin-latest.js',
+ timestamp: true
}
]
}