Skip to content

Commit

Permalink
Merge pull request #44 from karellen/issue_43
Browse files Browse the repository at this point in the history
Force git to clobber tags in the git cache
  • Loading branch information
arcivanov authored Dec 29, 2023
2 parents 33a60fc + dafae30 commit 230e592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
use_plugin("filter_resources")

name = "kubernator"
version = "1.0.11"
version = "1.0.12"

summary = "Kubernator is the a pluggable framework for K8S provisioning"
authors = [Author("Express Systems USA, Inc.", "")]
Expand Down
2 changes: 1 addition & 1 deletion src/main/python/kubernator/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ def init(self, logger, context):
self.local_dir)
run(["git", "config", "remote.origin.fetch", f"+refs/heads/{ref}:refs/remotes/origin/{ref}"],
stdout_logger, stderr_logger, cwd=git_cache).wait()
run(["git", "fetch", "-pPt"], stdout_logger, stderr_logger, cwd=git_cache).wait()
run(["git", "fetch", "-pPt", "--force"], stdout_logger, stderr_logger, cwd=git_cache).wait()
run(["git", "checkout", ref], stdout_logger, stderr_logger, cwd=git_cache).wait()
run(["git", "clean", "-f"], stdout_logger, stderr_logger, cwd=git_cache).wait()
run(["git", "reset", "--hard", ref, "--"], stdout_logger, stderr_logger, cwd=git_cache).wait()
Expand Down

0 comments on commit 230e592

Please sign in to comment.