Commit 01f02ca
authored
fix version.gradle.kts logic (#1256)
*Issue #, if available:*
*Description of changes:*
cherry-picks commit from #1255, see for more details.
Do not touch the version variable in environments where
`-Prelease.version` is passed in. This prevents a versioning conflict in
`closeAndReleaseSonatypeStagingRepository`, an error which was only
thrown when releasing.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.1 parent c776ce7 commit 01f02ca
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
0 commit comments