PowerBI-VSCode icon indicating copy to clipboard operation
PowerBI-VSCode copied to clipboard

Version confusion between GH sources and vscode Marketplace

Open mthierba opened this issue 1 year ago • 5 comments

The vscode Marketplace currently offers version 2.3.0 of the extension: image

The GitHub repo, however, has 2.1.1 as the latest release: image

New commits were made to main after the latest GH release, though: image

I'm assuming there is some manual process at work here. Can something be done to keep both views of the project in sync?

mthierba avatar Jul 24 '24 17:07 mthierba

hey @mthierba, you are absolutely right, there is definitely a mismatch as i am quite lazy to do both releases at the same time I will try to at least also create releases on Github for minor versions and tag them accordingly

gbrueckl avatar Jul 25 '24 07:07 gbrueckl

I could help setting up a deployment pipeline if you'd like? Was just wondering whether there were any other reasons.

mthierba avatar Jul 25 '24 08:07 mthierba

sure, I would really appreciate it

So I guess the gitHub repo would be the master and whenever a new release is created, a could trigger a github action to also publish the final VSIX to the VSCode gallery, right?

gbrueckl avatar Jul 25 '24 08:07 gbrueckl

There are two options:

  1. Trigger on Release
  • Assumes release is created manually
  • publish vsix
  • easier, but more manual steps
  1. Trigger on Tag
  • Create GitHub release from tag
  • build and publish vsix from release

Both options are safe in that they require an explicit trigger, i.e. it's not "CD", just "CI".

mthierba avatar Jul 25 '24 14:07 mthierba

a Release also always generates a Tag, no? I would probably do it "On Release" so its obvious when a new version also has to be published to the VSCode gallery I already found some good examples for this, now I just need some time to implement it

gbrueckl avatar Jul 26 '24 10:07 gbrueckl

finally implemented this :D

gbrueckl avatar Aug 11 '25 07:08 gbrueckl