-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: automate pkg assets publishing
- Loading branch information
Anton Drukh
committed
Aug 11, 2018
1 parent
4b666a8
commit 1f89668
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"prepare": [ | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/exec", | ||
"cmd": "npx pkg ." | ||
} | ||
], | ||
"publish": [ | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/github", | ||
"assets": [ | ||
{ | ||
"path": "./snyk-linux", | ||
"name": "snyk-linux", | ||
"label": "snyk-linux" | ||
}, | ||
{ | ||
"path": "./snyk-macos", | ||
"name": "snyk-macos", | ||
"label": "snyk-macos" | ||
}, | ||
{ | ||
"path": "./snyk-win.exe", | ||
"name": "snyk-win.exe", | ||
"label": "snyk-win.exe" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters