Skip to content

Commit 7a7e0cb

Browse files
authored
Merge pull request #1619 from larsewi/bump
ENT-12597: update-deps.py: Tweaked which number to bump for php
2 parents 7d1d8bc + a61dc60 commit 7a7e0cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/update-deps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ def select_new_version(
138138
log.info(f"Skipping version {new_version} for package {package_name}")
139139
continue
140140

141+
if package_name == "php" and bump_version == "minor":
142+
"""For php, a bump in what is normally considered the minor version,
143+
can contain breaking changes. So for minor package updates, we will
144+
only bump the last number."""
145+
bump_version = "patch"
146+
141147
if bump_version == "major":
142148
return new_version
143149
if bump_version == "minor" and old_split[:1] == new_split[:1]:

0 commit comments

Comments
 (0)