Skip to content

Differentiate vsix package version #1474

@llFreetimell

Description

@llFreetimell

What?

Let's differentiate version of vsix packages, which are generated by

  • local environment
  • Daily Publish by github action
  • Release artifact

Why?

Currently, all the versions are same even they are created by different code base.
It makes users confused.

Suggestion

  • local environment
    • one-vscode-local.vsix
    • one-vscode-local-abcd1234.vsix (commit hash id)
    • one-vscode-local-20130102.vsix (date)
    • one-vscode-local-abcd1234-201301021234.vsix (commit hash id + date)
  • Daily Publish by github action
    • one-vscode-0.4.0-abcd1234.vsix (commit hash id)
    • one-vscode-0.4.0-20230102.vsix (date)
  • Release artifact
    • one-vscode-0.4.0.vsix

Considerations

  • Changing output file name is easy, but changing real version in the package metadata is maybe complex in local environment
    • To package even with unstaged/staged changes, vsce package should be used. It cannot change version
    • To use vsce package <version>, git should be clean(No unstaged/staged changes)
  • When major version of release is changed, it will be different with the major version of nightly build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions