summaryrefslogtreecommitdiff
path: root/scripts/build-config
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-04-09 12:08:43 +0300
committerDaniil Baturin <daniil@vyos.io>2020-04-09 12:08:43 +0300
commitd64011558e32576eb521ba8cee8d9165897bbb60 (patch)
tree1c3c36b3cfe03a69720c6cf2a5fb7b743f415afe /scripts/build-config
parent967cf9df004aba4b883a2d35a01e159e10c3489c (diff)
downloadvyos-build-d64011558e32576eb521ba8cee8d9165897bbb60.tar.gz
vyos-build-d64011558e32576eb521ba8cee8d9165897bbb60.zip
T2254: add fields for git branch, build type, and build comment to the version data.
Diffstat (limited to 'scripts/build-config')
-rwxr-xr-xscripts/build-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-config b/scripts/build-config
index c613b0e4..356aa340 100755
--- a/scripts/build-config
+++ b/scripts/build-config
@@ -71,7 +71,8 @@ options = {
'pbuilder-debian-mirror': ('Debian repository mirror for pbuilder env bootstrap', lambda: build_defaults['debian_mirror'], None),
'vyos-mirror': ('VyOS package mirror', lambda: build_defaults["vyos_mirror"], None),
'build-type': ('Build type, release or development', lambda: 'development', lambda x: x in ['release', 'development']),
- 'version': ('Version number (release builds only)', None, None)
+ 'version': ('Version number (release builds only)', None, None),
+ 'build-comment': ('Optional build comment', lambda: '', None)
}
# Create the option parser