Skip to content
Snippets Groups Projects
Commit 55b1881e authored by Andreas Ziegler's avatar Andreas Ziegler Committed by David Bauer
Browse files

config_template: version: use regex instead of string

parent ce4349fa
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ var config = {
// community prefix of the firmware images
community_prefix: 'gluon-ffda-',
// firmware version regex
version_regex: '-([0-9]+.[0-9]+.[0-9]+([+-~][0-9]+)?)[.-]',
version_regex: /-([\d]+\.[\d]+\.[\d]+([+-~][\d]+)?)[.-]/,
// relative image paths and branch
directories: {
// some demo sources
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment