diff --git a/build/azure-pipeline.pre-release.yml b/build/azure-pipeline.pre-release.yml index 0996332948cc..b4ec22b2e1c5 100644 --- a/build/azure-pipeline.pre-release.yml +++ b/build/azure-pipeline.pre-release.yml @@ -36,6 +36,7 @@ extends: parameters: publishExtension: ${{ parameters.publishExtension }} ghCreateTag: false + standardizedVersioning: true l10nSourcePaths: ./src/client sourceRepositoriesToScan: include: @@ -103,8 +104,8 @@ extends: - script: nox --session install_python_libs displayName: Install Jedi, get-pip, etc - - script: python ./build/update_ext_version.py --for-publishing - displayName: Update build number + # - script: python ./build/update_ext_version.py --for-publishing + # displayName: Update build number - script: python ./build/update_package_file.py displayName: Update telemetry in package.json diff --git a/build/update_ext_version.py b/build/update_ext_version.py index 6ac2b15bbf0f..fe2b6ae0b81c 100644 --- a/build/update_ext_version.py +++ b/build/update_ext_version.py @@ -102,9 +102,7 @@ def main(package_json: pathlib.Path, argv: Sequence[str]) -> None: if args.build_id: # If build id is provided it should fall within the 0-INT32 max range # that the max allowed value for publishing to the Marketplace. - if args.build_id < 0 or ( - args.for_publishing and args.build_id > ((2**32) - 1) - ): + if args.build_id < 0 or (args.for_publishing and args.build_id > ((2**32) - 1)): raise ValueError(f"Build ID must be within [0, {(2**32) - 1}]") package["version"] = ".".join((major, minor, str(args.build_id)))