Skip to content

Commit

Permalink
chore: allow releases on previous major versions (#552)
Browse files Browse the repository at this point in the history
* chore: allow releases on previous major versions

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
parthea and gcf-owl-bot[bot] committed Apr 4, 2022
1 parent f008eea commit de66923
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .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
2 changes: 2 additions & 0 deletions owlbot.py
Expand Up @@ -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 \(
Expand Down

0 comments on commit de66923

Please sign in to comment.