]> git.pld-linux.org Git - packages/gitlab-runner.git/commitdiff
pass actual revision as gitlab-runner helper image is downloaded by the hash dev-11.1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 15 Aug 2018 14:48:07 +0000 (17:48 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 1 Oct 2018 07:40:47 +0000 (10:40 +0300)
gitlab-runner.spec

index d597ebdd83c3ec19a61954d9482f50cce18b6ddf..5a9f4a95d193cfa46a1cfb436ac5ed612b15a832 100644 (file)
@@ -1,7 +1,8 @@
+%define                helper_revision 081978aa
 Summary:       The official GitLab CI runner written in Go
 Name:          gitlab-runner
 Version:       11.1.0
-Release:       0.1
+Release:       0.4
 License:       MIT
 Group:         Development/Building
 Source0:       https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v%{version}/gitlab-runner-v%{version}.tar.bz2
@@ -79,7 +80,7 @@ export PATH=$(pwd):$PATH
 
 CN=gitlab.com/gitlab-org/gitlab-runner/common
 DT=$(date -u +%%Y-%%m-%%dT%%H:%%M:%%S%%:z)
-LDFLAGS="-X $CN.VERSION=%{version} -X $CN.REVISION=v%{version} -X $CN.BRANCH=v%{version} -X $CN.BUILT=$DT"
+LDFLAGS="-X $CN.VERSION=%{version} -X $CN.REVISION=%{helper_revision} -X $CN.BRANCH=v%{version} -X $CN.BUILT=$DT"
 %gobuild
 
 # verify that version matches
This page took 0.192553 seconds and 4 git commands to generate.