diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-08 00:45:03 +0300 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2017-05-26 11:49:19 +0300 |
commit | ef06c5d77174ec53daccede070648b04845c339c (patch) | |
tree | fa6fa3f04982bbf85dc827a85125ba47004c6035 | |
parent | ea23ede80f77117e5e6840367c1c6aa9eba02a4e (diff) |
Only check new migrations in 'rake down_timecheck'
This is necessary for the `security-9-0` build to pass.
-rw-r--r-- | lib/tasks/gitlab/db.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/db.rake b/lib/tasks/gitlab/db.rake index ecf6b6e068b..5476438b8fa 100644 --- a/lib/tasks/gitlab/db.rake +++ b/lib/tasks/gitlab/db.rake @@ -62,7 +62,7 @@ namespace :gitlab do ref = Shellwords.escape(args[:ref]) - migrations = `git diff #{ref}.. --name-only -- db/migrate`.lines + migrations = `git diff #{ref}.. --diff-filter=A --name-only -- db/migrate`.lines .map { |file| Rails.root.join(file.strip).to_s } .select { |file| File.file?(file) } |