|
12 | 12 | # com.azure:azure-example as a dependency. |
13 | 13 | # |
14 | 14 | # When releasing a library the current-version should be set to the version being released to Maven. Upon release of the |
15 | | -# library an automated PR will be submitted to update the dependency-version to the version that was released and the |
16 | | -# dependency-version to the next in development version. |
| 15 | +# library an automated PR will be submitted to update the dependency-version and current-version, the updates are |
| 16 | +# dependent on the current and previous releases of the library. |
17 | 17 | # |
18 | | -# The next in development version is determined by the version that was released. |
19 | | -# - If a beta version was released the beta number is incremented. (1.2.0-beta.1 -> 1.2.0-beta.2) |
20 | | -# - If a GA version was released the current-version is the next minor beta. (1.2.0 -> 1.3.0-beta.1) |
| 18 | +# - When both dependency and current are beta both versions will update upon release. Given the version release state |
| 19 | +# of 1.0.0-beta.2;1.0.0-beta.3 the updated versions will become 1.0.0-beta.3;1.0.0-beta.4. |
| 20 | +# |
| 21 | +# - When both dependency and current are GA both versions will update upon release. Given the version release state of |
| 22 | +# 1.0.0;1.0.1 the updated versions will become 1.0.1;1.1.0-beta.1. Current version will always become the next minor |
| 23 | +# beta version. |
| 24 | +# |
| 25 | +# - When dependency is GA and current is beta only the current version will update upon release. Given the version |
| 26 | +# release state of 1.0.0;1.1.0-beta.1 the updated versions will become 1.0.0;1.1.0-beta.2. The dependency version will |
| 27 | +# remain as-is as GA libraries could depend on the library being released, if they were to take a beta dependencies it |
| 28 | +# could result in an invalid release state (GA libraries can never have beta dependencies). The current version will |
| 29 | +# become the next beta increment version. If a library requires the released beta version as a dependency view the |
| 30 | +# beta dependency guidelines below. |
21 | 31 | # |
22 | 32 | # When adding a new library the dependency-version and current-version will be the same until the first release is |
23 | 33 | # performed. So, if com.azure:azure-new-library is added with major version 2 it'll use |
|
0 commit comments