Skip to content
Snippets Groups Projects
Commit 014669a4 authored by Simon McVittie's avatar Simon McVittie
Browse files

ci: Set the version number


The Docker container doesn't currently contain git.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 41c6160c
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,12 @@ pipeline { ...@@ -42,6 +42,12 @@ pipeline {
git config --global user.email nobody@example.com git config --global user.email nobody@example.com
''' '''
checkoutCollaboraGitlab('steam/pressure-vessel', 'master', 'src') checkoutCollaboraGitlab('steam/pressure-vessel', 'master', 'src')
dir('src') {
sh '''
./build-aux/git-version-gen .tarball-version > .tarball-version_
mv .tarball-version_ .tarball-version
'''
}
script { script {
if (env.CI_DOCKER_REGISTRY_CRED == '') { if (env.CI_DOCKER_REGISTRY_CRED == '') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment