summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-07-08 20:52:59 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-07-08 20:52:59 +0200
commit9defb95581974bb779ead6b178d986f6be3796e5 (patch)
tree80f5e2509fa1b24f2b339acc3b952c28e61621b5
parent71818179db397401fb4372fec6928b34e8defee5 (diff)
release assets
-rw-r--r--public/static/css/material-icons.css8
l---------public/static/v101 (renamed from public/static/v99)0
-rwxr-xr-xscripts/asset-release2
-rw-r--r--templates/layouts/app.html.ep2
-rw-r--r--templates/layouts/legacy.html.ep2
5 files changed, 7 insertions, 7 deletions
diff --git a/public/static/css/material-icons.css b/public/static/css/material-icons.css
index 999376d..3471568 100644
--- a/public/static/css/material-icons.css
+++ b/public/static/css/material-icons.css
@@ -2,12 +2,12 @@
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
- src: url(/static/v100/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
+ src: url(/static/v101/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
- url(/static/v100/fonts/MaterialIcons-Regular.woff2) format('woff2'),
- url(/static/v100/fonts/MaterialIcons-Regular.woff) format('woff'),
- url(/static/v100/fonts/MaterialIcons-Regular.ttf) format('truetype');
+ url(/static/v101/fonts/MaterialIcons-Regular.woff2) format('woff2'),
+ url(/static/v101/fonts/MaterialIcons-Regular.woff) format('woff'),
+ url(/static/v101/fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
diff --git a/public/static/v99 b/public/static/v101
index 945c9b4..945c9b4 120000
--- a/public/static/v99
+++ b/public/static/v101
diff --git a/scripts/asset-release b/scripts/asset-release
index 5714745..418477f 100755
--- a/scripts/asset-release
+++ b/scripts/asset-release
@@ -5,7 +5,7 @@
set -ex
-current="$(find public/static/v* | tail -n 1 | grep -o '..$')"
+current="$(find public/static/v* | tail -n 1 | grep -o '...$')"
prev=$((current - 1))
next=$((current + 1))
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index cd180d5..579fb80 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -18,7 +18,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v100'; # asset version
+ % my $av = 'v101'; # asset version
% if (session('theme') and session('theme') eq 'dark' or param('dark')) {
%= stylesheet "/static/${av}/css/dark.min.css", id => 'theme'
% }
diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep
index 09b94e6..5d3e31c 100644
--- a/templates/layouts/legacy.html.ep
+++ b/templates/layouts/legacy.html.ep
@@ -17,7 +17,7 @@
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
- % my $av = 'v100'; # asset version
+ % my $av = 'v101'; # asset version
%= stylesheet "/static/${av}/css/legacy.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/jquery-ui.min.css"