diff --git a/.github/release-please.yml b/.github/release-please.yml index 466597e5b..29601ad46 100644 --- a/.github/release-please.yml +++ b/.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/owlbot.py b/owlbot.py index 015670675..ba43cae94 100644 --- a/owlbot.py +++ b/owlbot.py @@ -219,6 +219,8 @@ def lint_setup_py(session): python.py_samples(skip_readmes=True) +python.configure_previous_major_version_branches() + s.replace( "samples/beam/noxfile.py", """INSTALL_LIBRARY_FROM_SOURCE \= os.environ.get\("INSTALL_LIBRARY_FROM_SOURCE", False\) in \(