Skip to content

Commit 879c55b

Browse files
chore: allow releases from previous major versions (#708)
* chore: allow releases from previous major versions * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: add config to owlbot.py * chore: update postprocessor SHA Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 04a742e commit 879c55b

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

‎.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:8a5d3f6a2e43ed8293f34e06a2f56931d1e88a2694c3bb11b15df4eb256ad163
17-
# created: 2022-04-06T10:30:21.687684602Z
16+
digest: sha256:266a3407f0bb34374f49b6556ee20ee819374587246dcc19405b502ec70113b6

‎.github/release-please.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
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: v2
7+
handleGHRelease: true
8+
releaseType: python
9+
- branch: v1
10+
handleGHRelease: true
11+
releaseType: python
12+
- branch: v0
13+
handleGHRelease: true
14+
releaseType: python

‎owlbot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def get_staging_dirs(
160160
# Update samples folder in CONTRIBUTING.rst
161161
s.replace("CONTRIBUTING.rst", "samples/snippets", "samples/samples")
162162

163+
python.configure_previous_major_version_branches()
163164
# ----------------------------------------------------------------------------
164165
# Samples templates
165166
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)