Commit 1afe865cd2395a2f21ac03cd582e2bdd64b67777
1 parent
8afd661f
Exists in
master
and in
11 other branches
Do not package useless .secret file
During the asset precompilation, GitLab will generate a .secret file. This file gets regenerated later by `gitlab-ctl reconfigure` anyway but it looks sloppy to include it in the packages.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/software/gitlab-rails.rb
@@ -75,7 +75,7 @@ build do | @@ -75,7 +75,7 @@ build do | ||
75 | bundle "exec rake assets:precompile", :env => assets_precompile_env | 75 | bundle "exec rake assets:precompile", :env => assets_precompile_env |
76 | 76 | ||
77 | # Tear down now that the assets:precompile is done. | 77 | # Tear down now that the assets:precompile is done. |
78 | - command "rm config/gitlab.yml config/database.yml" | 78 | + command "rm config/gitlab.yml config/database.yml .secret" |
79 | 79 | ||
80 | # Remove directories that will be created by `gitlab-ctl reconfigure` | 80 | # Remove directories that will be created by `gitlab-ctl reconfigure` |
81 | command "rm -rf log tmp public/uploads" | 81 | command "rm -rf log tmp public/uploads" |