Skip to content

Commit

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

* 🦉 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 1, 2022
1 parent 66b4e6c commit 7a83f60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 packages/google-cloud-monitoring-dashboards/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@
# https://github.com/googleapis/gapic-generator-python/issues/525
s.replace("noxfile.py", '[\"\']-W[\"\']', '# "-W"')

python.configure_previous_major_version_branches()

s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit 7a83f60

Please sign in to comment.