Skip to content

Commit e8f2a43

Browse files
authored
Expand the version management guidelines (Azure#17277)
1 parent 9a2679e commit e8f2a43

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

eng/versioning/version_client.txt

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,22 @@
1212
# com.azure:azure-example as a dependency.
1313
#
1414
# 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.
1717
#
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.
2131
#
2232
# When adding a new library the dependency-version and current-version will be the same until the first release is
2333
# performed. So, if com.azure:azure-new-library is added with major version 2 it'll use

0 commit comments

Comments
 (0)