Skip to content

Commit

Permalink
Fix upgrade for Docker Compose version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 9, 2024
1 parent 78f14c7 commit d99887b
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 d99887b

Please sign in to comment.