summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-04-20 14:32:32 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-04-20 18:58:33 +0200
commiteca6a40176cfa3fd5f019025ae2ceefe085dba26 (patch)
tree805a9e032822715cdbe00c9409b98c3016fe37af /node
parentb7f8b94203a39304215e546543d8d451fda02458 (diff)
jenkins_kernel_build_inst: improve Debian kernel package version
So far the kernel package version string is set to <kernel-release>-1 (the -1 is coming from the kernel .version file and is meaningless for us). When kernel is at 'rc' level, the version go backward when going from 4.x.0-rc8 to 4.x.0 for example, so first we fix this issue by replace the '-' with '~' in the version string. Then we add -$BUILD_NUMBER so that the kernel package version is linked to our CI build numbers, which is a meaningful information for our users. We need to move the if statement slightly earlier to make sure that BUILD_NUMBER is set when building outside of CI, since we use variable now. Change-Id: I65c09262376dc31e3c0d385ece0254edde1f9732 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'node')
0 files changed, 0 insertions, 0 deletions