[packages/gitlab-runner/dev-11.1: 2/2] pass actual revision as gitlab-runner helper image is downloaded by the hash
glen
glen at pld-linux.org
Mon Oct 1 09:41:15 CEST 2018
commit 2bd22098e41ccb2460e7c1d830bb437a4a912d14
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Aug 15 17:48:07 2018 +0300
pass actual revision as gitlab-runner helper image is downloaded by the hash
gitlab-runner.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gitlab-runner.spec b/gitlab-runner.spec
index d597ebd..5a9f4a9 100644
--- a/gitlab-runner.spec
+++ b/gitlab-runner.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-runner.git/commitdiff/2bd22098e41ccb2460e7c1d830bb437a4a912d14
More information about the pld-cvs-commit
mailing list