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