Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Different vscode:prepublish for pre-release extensions #947

Open
Danielku15 opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality

Comments

@Danielku15
Copy link

I'd like to run different scripts on whether I'm packaging a pre-release or release version of my extension but there is no information available about this flag in the scripts.

It would be great if there is vsce can call different scripts for pre-release or release package and publish commands.

Currently I need to handle this separately by calling some scripts manually.

@benibenj
Copy link
Contributor

benibenj commented Dec 11, 2024

@Danielku15 would having a vscode:prepublish:prerelease and vscode:prepublish:release script help?

Packaging an extension would run the pre publish script vscode:prepublish followed by either vscode:prepublish:release or vscode:prepublish:prerelease depending if it is pre release or not.

(Will also require updating the docs here and here)

@benibenj benibenj removed the help wanted Issues identified as good community contribution opportunities label Dec 11, 2024
@benibenj benibenj self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants