1
0
mirror of https://github.com/IEEE-SB-Passau/pelican-deployment-system.git synced 2017-09-06 16:35:38 +02:00

make sure we are on our branch

This commit is contained in:
2016-06-13 01:25:02 +02:00
parent 21eb6569f0
commit b893e05255

View File

@@ -84,7 +84,9 @@ class DeploymentRunner:
result = repo.submodule("deinit", ".")
log_git(result)
log.info("%s build_repo: reset it hard!", self.name)
result = repo.checkout("--force", self.git_branch)
log_git(result)
result = repo.reset("--hard")
log_git(result)