Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Update release-it conifg
Browse files Browse the repository at this point in the history
The release-it config must be updated due to how the github API operates. The github release has to be drafted for assets to be uploaded to the release, after which it has to be released.

If released right away, the github release action will not see the assets.
  • Loading branch information
Luehrsen committed Oct 14, 2020
1 parent f7b7393 commit 1b755a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"github": {
"release": true,
"assets": "update/*.zip"
"assets": "update/*.zip",
"draft": true,
},
"npm": {
"publish": false
},
"scripts": {
"beforeStage": "npx grunt release"
"hooks": {
"after:bump": "npx grunt release"
}
}

0 comments on commit 1b755a6

Please sign in to comment.