Skip to content

Commit

Permalink
Merge pull request #8 from phondani0/dev
Browse files Browse the repository at this point in the history
fix: Add packaged vsix file in release and change order of vsce package in workflow
  • Loading branch information
phondani0 authored Aug 15, 2024
2 parents 73becce + b759e32 commit eddc48d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,27 @@ analyzeCommits:
- type: "breaking"
release: "major"

prepare:
- path: "@semantic-release/exec"
cmd: "vsce package --out vite-serve-${nextRelease.version}.vsix"

prepare:
- path: "@semantic-release/exec"
cmd: "npm --git-tag-version=false version ${nextRelease.version}"

- path: "@semantic-release/exec"
cmd: "git add package.json && git status && git commit -m 'chore: update package.json version to ${nextRelease.version}'"

- path: "@semantic-release/exec"
cmd: "vsce package --out vite-serve-${nextRelease.version}.vsix"


npmPublish: false

# assets:
# - "vite-serve-*.vsix"
assets:
- "vite-serve-*.vsix"


success:
- path: "@semantic-release/exec"
cmd: "vsce publish --pat $VSCE_TOKEN"
cmd: "vsce publish --pat $VSCE_TOKEN --packagePath vite-serve-${nextRelease.version}.vsix"

- path: "@semantic-release/exec"
cmd: "git pull && git push && git push --tags"

0 comments on commit eddc48d

Please sign in to comment.