---- gitlab-ci-multi-runner/shells/abstract.go~ 2017-05-02 13:12:18.000000000 +0300
-+++ gitlab-ci-multi-runner/shells/abstract.go 2017-05-16 08:10:46.528840805 +0300
-@@ -96,7 +96,11 @@
+--- gitlab-runner/shells/abstract.go~ 2019-10-28 14:11:26.000000000 +0200
++++ gitlab-runner/shells/abstract.go 2019-11-10 02:47:02.568781451 +0200
+@@ -337,7 +337,11 @@
func (b *AbstractShell) writeCheckoutCmd(w ShellWriter, build *common.Build) {
w.Notice("Checking out %s as %s...", build.GitInfo.Sha[0:8], build.GitInfo.Ref)
+ } else {
+ w.Command("git", "checkout", "-fq", "-B", build.GitInfo.Ref, build.GitInfo.Sha)
+ }
- }
- func (b *AbstractShell) writeSubmoduleUpdateCmd(w ShellWriter, build *common.Build, recursive bool) {
+ cleanFlags := build.GetGitCleanFlags()
+ if len(cleanFlags) > 0 {
# Conditional build:
%bcond_with prebuilt # use prebuilt binary
-%define helper_revision 081978aa
+%define helper_revision 05161b14
Summary: The official GitLab CI runner written in Go
Name: gitlab-runner
-Version: 11.1.0
-Release: 0.4
+Version: 12.4.1
+Release: 1
License: MIT
Group: Development/Building
Source0: https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v%{version}/gitlab-runner-v%{version}.tar.bz2
-# Source0-md5: 5d92b8ca3fe5fdfeeb3bc2900c4aecd6
+# Source0-md5: 9b74135f78d5b0f4c1df1f4117ae1eda
%if %{with prebuilt}
Source1: https://gitlab-runner-downloads.s3.amazonaws.com/v%{version}/binaries/gitlab-runner-linux-amd64
# Source1-md5: 2fc56f01f932a14a807e37195d08bcf2