Skip to content

Commit

Permalink
Merge pull request #11295 from camptocamp/docker-compose-upgrade
Browse files Browse the repository at this point in the history
Fix upgrade for Docker Compose version 2
  • Loading branch information
sbrunner authored Aug 9, 2024
2 parents 78f14c7 + d99887b commit e4ef6b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ parser.add_argument(
)
parser.add_argument("version", help="the version to upgrade to (master or x.y.z)")
parser.add_argument("step", nargs="?", help="the step to run")
parser.add_argument("--docker-compose-version-2", action="store_true", help="Use Docker Compose version 2")
parser_finalize = argparse.ArgumentParser(description="Upgrade the project", add_help=False)
parser_finalize.add_argument("--finalize", action="store_true", help="finalize the upgrade")
parser_finalize.add_argument("--help", action="help", help="show this help message and exit")
parser_finalize.add_argument(
"--docker-compose-version-2", action="store_true", help="Use Docker Compose version 2"
)
parser_finalize.add_argument("build_arg", nargs="*", help="build arguments")

if len(sys.argv) >= 2 and sys.argv[1] == "--finalize":
Expand Down

0 comments on commit e4ef6b9

Please sign in to comment.