summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-01 21:44:53 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-01 21:44:53 +0100
commit7b89f74c316c278ff6af73e75f357139d56243da (patch)
tree66e85ed95117e0d97a469d3e456c4e4d018ba805 /scripts
parent195c13022de0b022e054347f0170fb536f4e9b9b (diff)
downloadvyos-build-7b89f74c316c278ff6af73e75f357139d56243da.tar.gz
vyos-build-7b89f74c316c278ff6af73e75f357139d56243da.zip
T6077: add bugtrcker, documentation and new URL to version file
Use single source for project related URLs that will later be consumed by the MOTD template used.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-vyos-image6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index 04b63a0b..8b91de57 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -327,7 +327,10 @@ if __name__ == "__main__":
'build_branch': git_branch,
'release_train': build_config['release_train'],
'lts_build': lts_build,
- 'build_comment': build_config['build_comment']
+ 'build_comment': build_config['build_comment'],
+ 'bugtracker_url': build_config['bugtracker_url'],
+ 'documentation_url': build_config['documentation_url'],
+ 'project_news_url': build_config['project_news_url'],
}
# Multi line strings needs to be un-indented to not have leading
@@ -343,6 +346,7 @@ BUILD_ID="{build_git}"
HOME_URL="{build_defaults['website_url']}"
SUPPORT_URL="{build_defaults['support_url']}"
BUG_REPORT_URL="{build_defaults['bugtracker_url']}"
+DOCUMENTATION_URL="{build_config['documentation_url']}"
"""
# Switch to the build directory, this is crucial for the live-build work