diff --git a/packages/google-cloud-vision/.github/release-please.yml b/packages/google-cloud-vision/.github/release-please.yml index 466597e5b196..29601ad4692c 100644 --- a/packages/google-cloud-vision/.github/release-please.yml +++ b/packages/google-cloud-vision/.github/release-please.yml @@ -1,2 +1,11 @@ releaseType: python handleGHRelease: true +# NOTE: this section is generated by synthtool.languages.python +# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py +branches: +- branch: v1 + handleGHRelease: true + releaseType: python +- branch: v0 + handleGHRelease: true + releaseType: python diff --git a/packages/google-cloud-vision/owlbot.py b/packages/google-cloud-vision/owlbot.py index 4912eeb4d65e..cc957c285a7c 100644 --- a/packages/google-cloud-vision/owlbot.py +++ b/packages/google-cloud-vision/owlbot.py @@ -118,6 +118,8 @@ # Work around bug in templates https://github.com/googleapis/synthtool/pull/1335 s.replace(".github/workflows/unittest.yml", "--fail-under=100", "--fail-under=99") +python.configure_previous_major_version_branches() + # ---------------------------------------------------------------------------- # Samples templates # ----------------------------------------------------------------------------