Skip to content
Snippets Groups Projects
Unverified Commit fc72ddff authored by Tom Herbers's avatar Tom Herbers
Browse files

config_template.js: adapt example for new contrib/update-images.sh

parent abdf9f68
Branches
Tags
No related merge requests found
...@@ -29,13 +29,19 @@ var config = { ...@@ -29,13 +29,19 @@ var config = {
// community prefix of the firmware images // community prefix of the firmware images
community_prefix: 'gluon-ffda-', community_prefix: 'gluon-ffda-',
// firmware version regex // firmware version regex
version_regex: /-([\d]+\.[\d]+\.[\d]+([+-~][\d]+)?)[.-]/, version_regex: '-([0-9]+.[0-9]+.[0-9]+([+-~][0-9]+)?)[.-]',
// relative image paths and branch // relative image paths and branch
directories: { directories: {
// some demo sources // some demo sources
'./images/gluon-factory-example.html': 'stable', './images/stable/gluon-factory-example.html': 'stable',
'./images/gluon-other-example.html': 'stable', './images/stable/gluon-other-example.html': 'stable',
'./images/gluon-sysupgrade-example.html': 'stable' './images/stable/gluon-sysupgrade-example.html': 'stable',
'./images/beta/gluon-factory-example.html': 'beta',
'./images/beta/gluon-other-example.html': 'beta',
'./images/beta/gluon-sysupgrade-example.html': 'beta',
'./images/testing/gluon-factory-example.html': 'testing',
'./images/testing/gluon-other-example.html': 'testing',
'./images/testing/gluon-sysupgrade-example.html': 'testing',
}, },
// page title // page title
title: 'Firmware', title: 'Firmware',
...@@ -43,7 +49,7 @@ var config = { ...@@ -43,7 +49,7 @@ var config = {
branch_descriptions: { branch_descriptions: {
stable: 'Gut getestet, zuverlässig und stabil.', stable: 'Gut getestet, zuverlässig und stabil.',
beta: 'Vorabtests neuer Stable-Kandidaten.', beta: 'Vorabtests neuer Stable-Kandidaten.',
experimental: 'Ungetestet, automatisch generiert.' testing: 'Ungetestet, automatisch generiert.'
}, },
// recommended branch will be marked during selection // recommended branch will be marked during selection
recommended_branch: 'stable', recommended_branch: 'stable',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment