diff --git a/tools/crd-bumper/README.md b/tools/crd-bumper/README.md index 0f84238..80d0087 100644 --- a/tools/crd-bumper/README.md +++ b/tools/crd-bumper/README.md @@ -67,7 +67,7 @@ The following example will vendor the new `v1beta2` API we created above for lus ```console DEST_REPO=git@github.com:NearNodeFlash/nnf-sos.git -vendor-new-api.py -r $DEST_REPO --hub-ver v1alpha3 --vendor-hub-ver v1beta2 --module github.com/NearNodeFlash/lustre-fs-operator --version master +vendor-new-api.py -r $DEST_REPO --hub-ver v1alpha3 --vendor-hub-ver v1beta2 --module github.com/NearNodeFlash/lustre-fs-operator --version master ``` The repository with its new API will be found under a directory named `workingspace/nnf-sos`. diff --git a/tools/crd-bumper/vendor-new-api.py b/tools/crd-bumper/vendor-new-api.py index f6d79c0..b471aa9 100755 --- a/tools/crd-bumper/vendor-new-api.py +++ b/tools/crd-bumper/vendor-new-api.py @@ -122,7 +122,7 @@ def main(): if args.branch is None: bn = os.path.basename(args.module) - args.branch = f"api-{bn}-{args.hub_ver}" + args.branch = f"api-{bn}-{args.vendor_hub_ver}" if args.this_branch: print("Continuing work in current branch") else: