Skip to content

Commit

Permalink
Version range needs the , at the end (Azure#12742)
Browse files Browse the repository at this point in the history
* Version range needs the , at the end

* version range needs to be in braces

Used override because nothing in this PR affects a core - ci run. The change had to be verified on a run that sets the dev version in a pipeline that has unreleased dependencies.
  • Loading branch information
JimSuplizio authored Jul 2, 2020
1 parent 053913d commit 3358109
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/versioning/set_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ def update_versions_file_for_nightly_devops(build_type, build_qualifier, artifac
else:
module.dependency += '-' + unreleased_build_qualifier

# The final unreleased dependency version needs to be of the form
# [1.0.0-dev.YYYYMMDD.,] <-- note the ., this is the version range for Maven
module.dependency = '[{},]'.format(module.dependency)

print(f'updating unreleased/beta dependency {module.name} to use dependency version range: "{module.dependency}"')

version_map[module.name] = module
Expand Down

0 comments on commit 3358109

Please sign in to comment.