diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-29 12:58:09 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-29 12:58:09 +0200 |
commit | c5cb3b398707d1b924ae9f8935216577090267cc (patch) | |
tree | 7d46866021c17e0da7b66372bc8aedcd458c0c31 | |
parent | ed3af2c82140e51df5de4ed2cda7faa55d59bee3 (diff) | |
download | seabios-c5cb3b398707d1b924ae9f8935216577090267cc.tar.gz |
jenkinsfile update
-rw-r--r-- | Jenkinsfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index a479205..915b554 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,8 +38,10 @@ def RPMBuild() { # tweak spec file sed -i.orig \ -e "s/\\(Version:[ \\t]\\+\\)\\(.*\\)/\\1${version}/" \ + -e "s/\\(Release:[ \\t]\\+\\)\\(.*\\)/\\1${gcnt}.${BUILD_NUMBER}.${ghash}/" \ + -e "s/\\(Source0:[ \\t]\\+\\)\\(.*\\)/\\1${tarball}/" \ *.spec - diff *.spec.orig *.spec + diff -u *.spec.orig *.spec # build package echo "TODO: rpmbuild" |