Skip to content

Commit

Permalink
patch(release_charm.yaml): Add workaround for charmcraft strict deps …
Browse files Browse the repository at this point in the history
…bug (#119)

Workaround for canonical/charmcraft#1389
  • Loading branch information
carlcsaposs-canonical committed Jan 9, 2024
1 parent 9dd6c83 commit 1f7cb3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/cli/data_platform_workflows_cli/release_charm.py
Expand Up @@ -34,6 +34,11 @@ def run(command_: list):


def main():
# Remove `charmcraft.yaml` from working directory (directory that subprocess will run as) if it
# exists.
# Workaround for https://github.com/canonical/charmcraft/issues/1389
pathlib.Path("charmcraft.yaml").unlink(missing_ok=True)

logging.basicConfig(level=logging.INFO, stream=sys.stdout)
parser = argparse.ArgumentParser()
parser.add_argument("--charm-directory", required=True)
Expand Down

0 comments on commit 1f7cb3e

Please sign in to comment.