Commit b4a2197
authored
Exclude protolite well known types from version bump. (#6909)
Per [b/413403910](https://b.corp.google.com/issues/413403910),
This adds filtering logic to not bump the version of
`protolite-well-known-types` when it releases. This solves the issue of
the `version` and `latestReleasedVersion` not aligning (which must be
enforced due to
[b/285892320](https://buganizer.corp.google.com/issues/285892320)).
More specifically, this PR adds a toggle for the default `bump` behavior
in `VersionBumpTask`. We then set this to `false` when the project's
`artifactId` is `protolite-well-known-types`.
This allows us to still [automatically] update the
`latestReleasedVersion` (should we ever release well known types again),
without bumping the `version`.
The `VersionBumpTask` docs have been updated to accommodate this.1 parent 12127e6 commit b4a2197
File tree
2 files changed
+17
-5
lines changed- plugins/src/main/java/com/google/firebase/gradle/plugins
2 files changed
+17
-5
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | | - | |
64 | | - | |
| 70 | + | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
73 | | - | |
| 80 | + | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
| |||
0 commit comments