Skip to content

Commit 0c4668d

Browse files
chore: allow releases from older version branches (#388)
* chore: allow releases from older version branches * 🦉 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>
1 parent 9be727d commit 0c4668d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/release-please.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
releaseType: python
22
handleGHRelease: true
3+
# NOTE: this section is generated by synthtool.languages.python
4+
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
5+
branches:
6+
- branch: v1
7+
handleGHRelease: true
8+
releaseType: python
9+
- branch: v0
10+
handleGHRelease: true
11+
releaseType: python

owlbot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import synthtool as s
1818
from synthtool import gcp
19+
from synthtool.languages import python
1920

2021
common = gcp.CommonTemplates()
2122

@@ -47,5 +48,6 @@
4748

4849
s.replace(".github/workflows/lint.yml", "python-version: \"3.10\"", "python-version: \"3.7\"")
4950

51+
python.configure_previous_major_version_branches()
5052

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

0 commit comments

Comments
 (0)