mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
move version to a dedicated file
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
9e362e1dc9
commit
59ad7dc98b
3 changed files with 4 additions and 2 deletions
|
|
@ -407,7 +407,7 @@ rm latest.yml
|
||||||
mv latest.yml.backup latest.yml
|
mv latest.yml.backup latest.yml
|
||||||
|
|
||||||
# Get version of AIO
|
# Get version of AIO
|
||||||
AIO_VERSION="$(grep 'Nextcloud AIO ' ../php/templates/containers.twig | grep -oP '[0-9]+.[0-9]+.[0-9]+')"
|
AIO_VERSION="$(grep 'Nextcloud AIO ' ../php/templates/includes/aio-version.twig | grep -oP '[0-9]+.[0-9]+.[0-9]+')"
|
||||||
sed -i "s|^version:.*|version: $AIO_VERSION|" ../helm-chart/Chart.yaml
|
sed -i "s|^version:.*|version: $AIO_VERSION|" ../helm-chart/Chart.yaml
|
||||||
|
|
||||||
# Conversion of sample.conf
|
# Conversion of sample.conf
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,8 @@
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<main>
|
<main>
|
||||||
<h1>Nextcloud AIO v12.5.0</h1>
|
{% set aio_version = include('includes/aio-version.twig') %}
|
||||||
|
<h1>Nextcloud AIO v{{ aio_version }}</h1>
|
||||||
|
|
||||||
{# Add 2nd tab warning #}
|
{# Add 2nd tab warning #}
|
||||||
<script type="text/javascript" src="second-tab-warning.js"></script>
|
<script type="text/javascript" src="second-tab-warning.js"></script>
|
||||||
|
|
|
||||||
1
php/templates/includes/aio-version.twig
Normal file
1
php/templates/includes/aio-version.twig
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
12.5.0
|
||||||
Loading…
Add table
Add a link
Reference in a new issue