From b5ede9e6a305c94790752ff01e52e7669555036c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 24 Nov 2016 23:58:44 +0200 Subject: [PATCH] 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 -- 2.44.0