diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-11 20:28:15 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-11 20:28:15 +0300 |
commit | 1c0e946c76b43cfd3d6bdf546bf93b475a776a44 (patch) | |
tree | 1cfab5af82bef1857f8ffe233d354f75fc39a7f5 /ick_helpers.py | |
parent | 2d8623651e709d46a3a00d17c4d08a0957a9b325 (diff) | |
download | ick-helpers-1c0e946c76b43cfd3d6bdf546bf93b475a776a44.tar.gz |
Change: more moar careful when checking out
Diffstat (limited to 'ick_helpers.py')
-rw-r--r-- | ick_helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ick_helpers.py b/ick_helpers.py index f5fd643..81c593c 100644 --- a/ick_helpers.py +++ b/ick_helpers.py @@ -178,6 +178,7 @@ class DebianReleaseBuilder: def checkout(self, tag): self.ex.run('git', 'reset', '--hard', check=False) + self.ex.run('git', 'clean', '-fdx', check=False) self.ex.run('git', 'checkout', 'master', check=False) self.ex.run('git', 'branch', '-d', '__ickbuild', check=False) self.ex.run('git', 'checkout', '-b', '__ickbuild', tag) |