This repository contains a centralized GitHub Actions workflow used to:
- Automatically bump the version of a VSCode extension (
package.json) - Create and push a git tag based on the new version
- (Optionally) publish the extension to the Visual Studio Code Marketplace
To reuse this workflow in another repository (e.g., your VSCode extension), create a file like this:
name: Bump version via shared workflowon:
push:
branches:
- masterjobs:
bump:
uses: RechInformatica/extension-workflow/.github/workflows/bump-version.yml@masterwith:
bump: patch # or "minor", "major"