-
Notifications
You must be signed in to change notification settings - Fork 50
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
Differentiate vsix package version #1474
Comments
We can change output package name without modifying the package.json code. |
I saw your draft code. The code generates a different package file according to the build mode. |
I think my description was not enough, so I updated main comments :)
To package all the things, even with unstaged/staged changes, we cannot use
For now, I think just changing one line in the
Instead of git commit id, date can be used. Just for example :) |
We use We have two choice for solving this problem.
Please give me your opinion. :) |
For me, option 1 has following pros.
But I am not sure about following cons, because maybe I am misunderstanding something.
If above cons are resolved, of they are all my misunderstanding, option 1 seems good :) |
Nightly release is released from We can only enable the But one thing we need to think about, if we set |
If so, both of cons are resolved :)
I agree with you. As pre-release is not official release, using special version(e.g. |
We concluded to release from nightly release to We have considered to give a new run command for packaging extension with special version. However, it requires the clean git directory so we decided not to provide it to individual user. related comment What about our suggestion? Please let me know, if you have a good idea or if we missed anything. :) |
I fully agree with you.
Reasonable. If so where do we store the new run command?
The name or build version of the package being built locally is not yet clear for me. Is it |
We can add new package command for local user like this. It is not working if the directory is not clean. However do we need this?
We can not change the vscode pacakge name. However we can change the version number with specific postfix (e.g. |
This is reversed maybe. |
@jyoungyun , I misunderstood. In conclusion, I understand that the package command is not added. |
Adding package command for itself is not difficult :)
|
Oh we can change the file name by using |
What?
Let's differentiate version of vsix packages, which are generated by
Why?
Currently, all the versions are same even they are created by different code base.
It makes users confused.
Suggestion
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)one-vscode-0.4.0-abcd1234.vsix
(commit hash id)one-vscode-0.4.0-20230102.vsix
(date)one-vscode-0.4.0.vsix
Considerations
vsce package
should be used. It cannot change versionvsce package <version>
, git should be clean(No unstaged/staged changes)The text was updated successfully, but these errors were encountered: