Commit 63f25c0179d262488eaad662d2a4d79d5bb6552c

Authored by Jacob Vosmaer
1 parent d385129f

Patch the Gitlab::REVISION constant in gitlab-core

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
config/software/gitlab-core.rb
@@ -30,6 +30,7 @@ dependency "postgresql" @@ -30,6 +30,7 @@ dependency "postgresql"
30 source :git => "https://gitlab.com/gitlab-org/gitlab-ce.git" 30 source :git => "https://gitlab.com/gitlab-org/gitlab-ce.git"
31 31
32 build do 32 build do
  33 + command "sed -i 's/*REVISION*/REVISION = \"#{version_guid.split(':').last}\"/' config/initializers/2_app.rb"
33 bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem" 34 bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem"
34 command "mkdir -p #{install_dir}/embedded/service/gitlab-core" 35 command "mkdir -p #{install_dir}/embedded/service/gitlab-core"
35 command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-core/" 36 command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-core/"