Skip to content

Commit 0ba88f0

Browse files
chore: allow releases on previous major versions (#1134)
* 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>
1 parent af3154a commit 0ba88f0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/release-please.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
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: v0
7+
handleGHRelease: true
8+
releaseType: python

owlbot.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
system_test_extras=["testing"],
9393
microgenerator=True,
9494
)
95-
python.py_samples(skip_readmes=True)
9695
s.move(
9796
templated_files,
9897
excludes=[
@@ -104,6 +103,10 @@
104103
],
105104
) # the microgenerator has a good coveragerc file
106105

106+
python.py_samples(skip_readmes=True)
107+
108+
python.configure_previous_major_version_branches()
109+
107110
# Update samples config to use `ucaip-sample-tests` project
108111
s.replace(
109112
".kokoro/samples/python3.*/common.cfg",

0 commit comments

Comments
 (0)