mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 14:38:17 +08:00
docker.rake should pull the latest source
This commit is contained in:
parent
34d4712133
commit
be891e1c2e
|
@ -13,7 +13,7 @@ def run_or_fail(command)
|
|||
end
|
||||
|
||||
unless ENV['NO_UPDATE']
|
||||
run_or_fail("git remote update")
|
||||
run_or_fail("git pull")
|
||||
|
||||
checkout = ENV['COMMIT_HASH'] || "HEAD"
|
||||
run_or_fail("git checkout #{checkout}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user