summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-08-11 20:28:15 +0300
committerLars Wirzenius <liw@liw.fi>2018-08-11 20:28:15 +0300
commit1c0e946c76b43cfd3d6bdf546bf93b475a776a44 (patch)
tree1cfab5af82bef1857f8ffe233d354f75fc39a7f5
parent2d8623651e709d46a3a00d17c4d08a0957a9b325 (diff)
downloadick-helpers-1c0e946c76b43cfd3d6bdf546bf93b475a776a44.tar.gz
Change: more moar careful when checking out
-rw-r--r--ick_helpers.py1
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)