formulahendry / vscode-auto-rename-tag

Automatically rename paired HTML/XML tag
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag
MIT License
259 stars 36 forks source link

Create a GitHub Action for releasing #597

Closed filiptronicek closed 2 years ago

filiptronicek commented 2 years ago

This Pull Request automates the process for creating GitHub Releases, publishing to both the MS Marketplace and OpenVSX (for use in projects like Gitpod, VS Codium, Code Server).

This GitHub Action consists of 4 jobs:

  1. package to create a vsix file. After that, it uploads it via the GitHub Action (as an artifact)
  2. publish to MS marketplace, one must configure a VSCE_PAT secret for this repo to make it work
  3. publish to OpenVSX, one must configure OVSX_PAT secret for this repo to make it work. To get this token, you will have to sign up for OpenVSX, sign the CLA and get a token from the dashboard, I hope you won't mind too much about doing this, it would really help out! (More docs here)
  4. publish to GitHub Releases: creates a new release with a vsix file artifact.

Here is an example GH release: https://github.com/filiptronicek/vscode-auto-rename-tag/releases/tag/release%2F0.1.9 Runs of this workflow in the fork: https://github.com/filiptronicek/vscode-auto-rename-tag/actions/workflows/release.yml

Fixes #590 #545 #559

filiptronicek commented 2 years ago

/cc @formulahendry I hope this will help with further releases of the extension, and would really appreciate if you could take a look at this PR 😃.