diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-04-09 12:08:43 +0300 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2020-04-09 12:08:43 +0300 |
commit | d64011558e32576eb521ba8cee8d9165897bbb60 (patch) | |
tree | 1c3c36b3cfe03a69720c6cf2a5fb7b743f415afe /scripts/build-config | |
parent | 967cf9df004aba4b883a2d35a01e159e10c3489c (diff) | |
download | vyos-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-x | scripts/build-config | 3 |
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 |