diff --git a/goblet/__version__.py b/goblet/__version__.py index 2fc17433..10ece998 100644 --- a/goblet/__version__.py +++ b/goblet/__version__.py @@ -1,4 +1,4 @@ -VERSION = (0, 13, 1) +VERSION = (0, 13, 2) __version__ = ".".join(map(str, VERSION)) diff --git a/goblet/backends/backend.py b/goblet/backends/backend.py index 174c14d6..4cec92d5 100644 --- a/goblet/backends/backend.py +++ b/goblet/backends/backend.py @@ -213,7 +213,10 @@ def _zip_directory(self): for pattern in self.zip_config.get("include", []): globbed_files.extend(Path("").rglob(pattern)) for path in globbed_files: - if not set(path.parts).intersection(exclusion_set): + if ( + not set(path.parts).intersection(exclusion_set) + and str(path) != ".goblet/config.json" + ): self.log.debug(f"Zipping file: {path}...") self.zipf.write(str(path))