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

setup release workflow #2

Merged
merged 14 commits into from
Jul 21, 2023
Merged

setup release workflow #2

merged 14 commits into from
Jul 21, 2023

Conversation

sarvalabs-manish
Copy link
Member

This PR sets up the release workflow for this VS Code Extension.

  • Updated the README with more badges with fixed links. It removes the exhaustive install instructions.
  • Added a GitHub Action release workflow that is triggered on the push to a semantic version tag
    • Verifies the tag integrity with package.json file. (must match for a stable release and match the primary version for pre-release tags which must have the structure of v*.*.*-rc.*)
    • Packages the extension as a VSIX file labelled with the release version
    • Creates a Release and uploads the VSIX file to the release
    • [todo] Publish to the VS Code Extension Marketplace

Note: If the Marketplace can be setup within this PR, the README needs to be updated as well

Added a GH Actions workflow for including a VSIX file along with published releases
fixed an issue with trigger syntax
- Updated workflow to trigger upon a semantic ver tag push
- The release is created by the action now instead of being triggered by it.
- Added a step to obtain the release version and determine if it is a pre-release tag. It also checks compatibility with the package.json
- Refactored vsix packaging to have the version of the release
- Added a step to publish to VS Code Marketplace
- Added repo checks
bump down the version to v0.0.1 for testing publish
- Added link for the marketplace link and update install instructions
@sarvalabs-manish sarvalabs-manish merged commit 7c98d11 into main Jul 21, 2023
@sarvalabs-manish sarvalabs-manish deleted the release-workflow branch July 21, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants