[arch-commits] Commit in gitlab/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jun 4 17:07:25 UTC 2018


    Date: Monday, June 4, 2018 @ 17:07:25
  Author: svenstaro
Revision: 340411

upgpkg: gitlab 10.8.3-3

Modified:
  gitlab/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-04 16:59:49 UTC (rev 340410)
+++ PKGBUILD	2018-06-04 17:07:25 UTC (rev 340411)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab
 pkgver=10.8.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Project management and code hosting application"
 arch=('x86_64')
 url="https://gitlab.com/gitlab-org/gitlab-ce"
@@ -63,9 +63,8 @@
 
   patch -Np1 -i "${srcdir}"/b41b2de702c26bfbbe375c70c48293a75546df42.patch
 
-  msg2 "Patching git revision in lib/gitlab.rb"
-  sed -i -e "s|REVISION = Gitlab::Popen.popen(%W(#{config.git.bin_path} log --pretty=format:%h -n 1)).first.chomp.freeze|REVISION = \"${revision}\"|" \
-            lib/gitlab.rb
+  # GitLab tries to read its revision information from a file.
+  echo "${revision}" > REVISION
 
   export SKIP_STORAGE_VALIDATION='true'
 



More information about the arch-commits mailing list