Skip to content

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Oct 14, 2025

- Automatically publish a pre-release version on every merge to main with the following versioning: MAJOR.(MINOR+1).YYYYMMDDNN. It means we can have up to 100 releases (merges to main) in a day. This is similar to how VS Code's Remote SSH does preview releases.

  • Automatically publish the pre-release when pushing a v*-pre tag to main.
  • Automatically publish the stable release when pushing a v* tag to main.
  • Both release workflows use the same publish-extension.yaml workflow for all publishing tasks (VS Marketplace, Open VSX, and GitHub releases), with the isPreRelease flag controlling the behavior.
  • Package VSIX on every PR and merge to main. For PRs, it is retained for 7 days, but for main it's retained indefinitely.

Notes

  • Set VSCE_PAT and OVSX_PAT secrets in repo, if not set, then the publishing will be skipped.

Closes #97

@EhabY EhabY requested a review from code-asher October 15, 2025 12:55
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@EhabY EhabY requested a review from code-asher October 17, 2025 08:33
@EhabY EhabY force-pushed the automatic-publish-extension branch from c1ac29d to d075fa9 Compare October 17, 2025 19:38
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice indeed!

@EhabY EhabY force-pushed the automatic-publish-extension branch from 0583cf1 to d319e7b Compare October 22, 2025 07:55
@EhabY EhabY force-pushed the automatic-publish-extension branch from d319e7b to da5d5c2 Compare October 22, 2025 08:22
@EhabY EhabY merged commit 930d543 into coder:main Oct 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate extension releases to VS Code Marketplace and Open VSX Regsitry

2 participants