microsoft/vscode-autopep8

Incorrect pre-release versioning

KasperZutterman opened this issue · 1 comments

The pre-release versions are not correctly versioned (not following SemVer), causing an older pre-release version to be installed.
The patch version is not correctly incremented: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#autoincrement-the-extension-version

  • v2023.9.13201008 (4months ago)
  • v2023.9.10681010 (1week ago)
image

Reproduce

Extensions -> Settings -> Install another version...
image

Issue is caused by these lines of codes:

# Use the GITHUB_RUN_ID environment variable to update the build number.
# GITHUB_RUN_ID is a unique number for each run within a repository.
# This number does not change if you re-run the workflow run.
- name: Update extension build number
run: python -m nox --session update_build_number -- $GITHUB_RUN_ID
shell: bash