Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
Move package into after release.
  • Loading branch information
Settis committed Jan 27, 2024
1 parent fd84872 commit a07a02b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"github": {
"release": true,
"assets": ["*.vsix"]
"release": true
},
"npm": {
"publish": false
Expand All @@ -18,11 +17,13 @@
"npm run test"
],
"after:bump": [
"rm -f *.vsix",
"npm run package",
"sed -i 's/sonar.projectVersion=.*/sonar.projectVersion=${version}/' sonar-project.properties"
],
"after:release": "npx vsce publish"
"after:release": [
"rm -f *.vsix",
"npm run package",
"npx vsce publish"
]
},
"plugins": {
"@release-it/keep-a-changelog": {
Expand Down

0 comments on commit a07a02b

Please sign in to comment.