diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 15af6e7..3988634 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,4 +30,4 @@ jobs: GIT_COMMITTER_NAME: phondani0 GIT_COMMITTER_EMAIL: ankitphondani52@gmail.com VSCE_TOKEN: ${{ secrets.VSCODE_PUBLISHER_TOKEN }} - run: npx semantic-release --debug + run: npx semantic-release diff --git a/.releaserc.yml b/.releaserc.yml index ff2cced..fc89d1b 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -8,6 +8,21 @@ plugins: - '@semantic-release/git' - '@semantic-release/github' + +analyzeCommits: + - path: "@semantic-release/commit-analyzer" + releaseRules: + - type: "feat" + release: "patch" + - type: "hotfix" + release: "patch" + - type: "patch" + release: "patch" + - type: "minor" + release: "minor" + - type: "breaking" + release: "major" + prepare: - path: "@semantic-release/exec" cmd: "vsce package --out vite-serve-${nextRelease.version}.vsix" diff --git a/package.json b/package.json index ec70882..6bbd6cf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vite-serve", "displayName": "Vite Serve", "description": "An extension designed to streamline your React development workflow by starting your existing projects with Vite with no extra configuration.", - "version": "1.1.0", + "version": "1.0.0", "publisher": "phondani0", "engines": { "vscode": "^1.8.0"