From 63f25c0179d262488eaad662d2a4d79d5bb6552c Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 5 Feb 2014 18:06:12 +0100 Subject: [PATCH] Patch the Gitlab::REVISION constant in gitlab-core --- config/software/gitlab-core.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/config/software/gitlab-core.rb b/config/software/gitlab-core.rb index 3e2e27c..b0cb61c 100644 --- a/config/software/gitlab-core.rb +++ b/config/software/gitlab-core.rb @@ -30,6 +30,7 @@ dependency "postgresql" source :git => "https://gitlab.com/gitlab-org/gitlab-ce.git" build do + command "sed -i 's/*REVISION*/REVISION = \"#{version_guid.split(':').last}\"/' config/initializers/2_app.rb" bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem" command "mkdir -p #{install_dir}/embedded/service/gitlab-core" command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-core/" -- libgit2 0.21.2