[packages/gitlab-ci-multi-runner] version the build image as package version

glen glen at pld-linux.org
Thu Nov 24 23:00:09 CET 2016


commit b5ede9e6a305c94790752ff01e52e7669555036c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 24 23:58:44 2016 +0200

    version the build image as package version
    
    do this for simplicity
    this creates new tags each time runner is upgraded
    possibly from same tar.xz

 gitlab-ci-multi-runner.spec | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/gitlab-ci-multi-runner.spec b/gitlab-ci-multi-runner.spec
index d5e0797..fab8bbd 100644
--- a/gitlab-ci-multi-runner.spec
+++ b/gitlab-ci-multi-runner.spec
@@ -1,10 +1,3 @@
-
-# the revision for images
-# $ git fetch https://gitlab.com/gitlab-org/gitlab-ci-multi-runner refs/tags/v1.6.0
-# $ git rev-list -n 1 --abbrev-commit FETCH_HEAD
-#define revision 76fdacd
-# No changes to image, so don't refetch it
-%define revision 1.5.2
 Summary:	The official GitLab CI runner written in Go
 Name:		gitlab-ci-multi-runner
 Version:	1.8.0
@@ -84,7 +77,7 @@ export PATH=$(pwd):$PATH
 %{__make} version | tee version.txt
 
 CN=gitlab.com/gitlab-org/gitlab-ci-multi-runner/common
-LDFLAGS="-X $CN.NAME=gitlab-ci-multi-runner -X $CN.VERSION=%{version} -X $CN.REVISION=%{revision}"
+LDFLAGS="-X $CN.NAME=gitlab-ci-multi-runner -X $CN.VERSION=%{version} -X $CN.REVISION=%{version}"
 %gobuild
 
 # verify that version matches
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ci-multi-runner.git/commitdiff/b5ede9e6a305c94790752ff01e52e7669555036c



More information about the pld-cvs-commit mailing list