-
Notifications
You must be signed in to change notification settings - Fork 243
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
Add .vsix
artifacts to releases on GitHub
#722
Comments
Hehehe, I thought I was the last human using Emacs. Could you not download it from the Marketplace? It may even have an API to download any version while they only show the last few. I only publish on github releases for making a tag and if someone (including myself) want to recreate the source at that point and build/deploy. The build to create a vsix is just a few commands. |
In fact, VS Marketplace is blocking download requests, direct links works fine from the browser, however, if you try to make a script which automate downloading, it get rejected. For example, I was facing the same issue with the {
"$id":"1",
"innerException":null,
"message":"Request was blocked due to exceeding usage of resource 'Count' in namespace 'AnonymousId'. For more information on why your request was blocked, see the topic \"Rate limits\" on the Microsoft Web site (https://go.microsoft.com/fwlink/?LinkId=823950).",
"typeName":"Microsoft.TeamFoundation.Framework.Server.RequestBlockedException, Microsoft.TeamFoundation.Framework.Server",
"typeKey":"RequestBlockedException",
"errorCode":0,
"eventId":3000
} And sometimes this one: {
"$id":"1",
"innerException":null,
"message":"TF400898: An Internal Error Occurred. Activity Id: e15a6fba-431f-4173-9cc3-cc75cfc27a0c.",
"typeName":"System.NullReferenceException, mscorlib",
"typeKey":"NullReferenceException",
"errorCode":0,
"eventId":0
} Hopefully, they are providing Well, the Marketplace works fine as long as you are using VS Code! |
Okay, I have no issues publishing the VSIX file via github. Except, it is a bunch of extra error-prone work. I am not a git or github expert doing it via the web interface is painful. Can you/someone provide a script that I can use to publish a release (pre-release or release) on github
I can insert/add my commands to create a vsix I want it to be a process that people can rely on. Not based on dozens of manual steps that I can screw up on. |
Yep, I can feel the pain! Unfortunately, I'm not a DevOps expert too, otherwise, I would be happy to do it. Do not mind, I will find a way to build the extension from source from withing Emacs. For people who are experienced with GitHub actions/workflow, they can find an inspiration in this file from WebFreak's debug extension. |
Some time ago i found https://dev.to/sourishkrout/the-github-action-you-need-to-publish-vs-code-extensions-1n8 but didn't had the time to go through it. Maybe this helps with this point and also publishing the releases to the marketplaces |
Thanks, I will take a look |
Btw, you can download most of our extensions now from openvsx.org. I will be publishing to both VSCode and OpenVSX simultaneously. But releases only. OpenVSX does not understand pre-releases |
I do not wish to make releases as a github action as popular as that may be. I think I can use the GH CLI to make a release. |
Unless someone is willing to help, I am closing this issue |
I'm willing to do something here. I would use the https://www.npmjs.com/package/gh-release to create the release with all the needed options and vsix asset upload. Any concerns against that? |
That script is exactly what I wanted. Some things go wrong during the release process and I want to those failures on my computer and interact with tools directly. I have 3-5 personal access tokens (azure devops, github, marketplace, Open VSX, etc.), that keep expiring and I have to renew them manually. I also don't want to store my tokens on github. Call me parnoid. Even Assigning to you. No hurry, but I want to try to make some draft/pre-releases with this script |
Hello and thank you for this extension,
I'm using
cortex-debug
with Emacs (viadap-mode
), I want to automate the download process so I can update it from withing Emacs, however, the VSCode workplace do not provide direct links.Can you please provide the
.vsix
with the release files (like in v1.5.6-pre1 release)?I'm working on adding the
cortex-debug
support to the upstreamdap-mode
so Emacs users can use it also.Thank you again
The text was updated successfully, but these errors were encountered: