Do a git checkout on Gemfile.lock and schema.rb prior to update. Fixes #2227
This commit is contained in:
parent
59c486dcc1
commit
8ab6bd3eb3
|
@ -22,6 +22,7 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
|
||||||
```bash
|
```bash
|
||||||
cd /home/git/gitlab
|
cd /home/git/gitlab
|
||||||
sudo -u git -H git fetch --all
|
sudo -u git -H git fetch --all
|
||||||
|
sudo -u git -H git checkout -- Gemfile.lock db/schema.rb
|
||||||
sudo -u git -H git checkout LATEST_TAG
|
sudo -u git -H git checkout LATEST_TAG
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue