Skip to content

Commit

Permalink
breaking: Change default charmcraft version to 2.x (#219)
Browse files Browse the repository at this point in the history
charmcraft 3.1 releases arm64 charms on amd64

Temporary fix while charmcraft 3.1 is stabilized
  • Loading branch information
carlcsaposs-canonical authored Aug 2, 2024
1 parent 07f8ca1 commit da8bb57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/cli/data_platform_workflows_cli/parse_snap_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def main():
install_flag = f"'--revision={args.revision}'"
elif args.channel:
install_flag = f"'--channel={args.channel}'"
elif args.channel_input_name == "charmcraft-snap-channel":
install_flag = "'--channel=2.x/stable'"
else:
install_flag = None
github_actions.output["install_flag"] = install_flag

0 comments on commit da8bb57

Please sign in to comment.