-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
23 deletions.
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 |
---|---|---|
|
@@ -9,22 +9,22 @@ | |
{ | ||
"//": "build the macos", | ||
"path": "@semantic-release/exec", | ||
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-10.21.0 -o snyk2spdx-macos" | ||
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-10.21.0 -o snyk2spdx-macos" | ||
}, | ||
{ | ||
"//": "build the linux", | ||
"path": "@semantic-release/exec", | ||
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t linux-x64-12.16.2 -o snyk2spdx-linux" | ||
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t linux-x64-12.16.2 -o snyk2spdx-linux" | ||
}, | ||
{ | ||
"//": "build the windows binaries", | ||
"path": "@semantic-release/exec", | ||
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t windows-x64-10.16.0 -o snyk2spdx-win.exe" | ||
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t windows-x64-10.16.0 -o snyk2spdx-win.exe" | ||
}, | ||
{ | ||
"//": "shasum all binaries", | ||
"path": "@semantic-release/exec", | ||
"cmd": "shasum -a 256 snyk2spdx-linux > snyk2spdx-linux.sha256 && shasum -a 256 snyk2spdx-macos > snyk2spdx-macos.sha256 && shasum -a 256 snyk2spdx-win.exe > snyk2spdx-win.exe.sha256" | ||
"cmd": "shasum -a 256 snyk2spdx-linux > snyk2spdx-linux.sha256 && shasum -a 256 snyk2spdx-macos > snyk2spdx-macos.sha256 && shasum -a 256 snyk2spdx-win.exe > snyk2spdx-win.exe.sha256" | ||
}, | ||
{ | ||
"//": "removes the file we use to identify a build as a standalone binary", | ||
|
@@ -38,34 +38,34 @@ | |
"path": "@semantic-release/github", | ||
"assets": [ | ||
{ | ||
"path": "./ snyk2spdx-linux", | ||
"name": " snyk2spdx-linux", | ||
"label": " snyk2spdx-linux" | ||
"path": "./snyk2spdx-linux", | ||
"name": "snyk2spdx-linux", | ||
"label": "snyk2spdx-linux" | ||
}, | ||
{ | ||
"path": "./ snyk2spdx-linux.sha256", | ||
"name": " snyk2spdx-linux.sha256", | ||
"label": " snyk2spdx-linux.sha256" | ||
"path": "./snyk2spdx-linux.sha256", | ||
"name": "snyk2spdx-linux.sha256", | ||
"label": "snyk2spdx-linux.sha256" | ||
}, | ||
{ | ||
"path": "./ snyk2spdx-macos", | ||
"name": " snyk2spdx-macos", | ||
"label": " snyk2spdx-macos" | ||
"path": "./snyk2spdx-macos", | ||
"name": "snyk2spdx-macos", | ||
"label": "snyk2spdx-macos" | ||
}, | ||
{ | ||
"path": "./ snyk2spdx-macos.sha256", | ||
"name": " snyk2spdx-macos.sha256", | ||
"label": " snyk2spdx-macos.sha256" | ||
"path": "./snyk2spdx-macos.sha256", | ||
"name": "snyk2spdx-macos.sha256", | ||
"label": "snyk2spdx-macos.sha256" | ||
}, | ||
{ | ||
"path": "./ snyk2spdx-win.exe", | ||
"name": " snyk2spdx-win.exe", | ||
"label": " snyk2spdx-win.exe" | ||
"path": "./snyk2spdx-win.exe", | ||
"name": "snyk2spdx-win.exe", | ||
"label": "snyk2spdx-win.exe" | ||
}, | ||
{ | ||
"path": "./ snyk2spdx-win.exe.sha256", | ||
"name": " snyk2spdx-win.exe.sha256", | ||
"label": " snyk2spdx-win.exe.sha256" | ||
"path": "./snyk2spdx-win.exe.sha256", | ||
"name": "snyk2spdx-win.exe.sha256", | ||
"label": "snyk2spdx-win.exe.sha256" | ||
} | ||
] | ||
} | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,8 @@ | |
"build-watch": "tsc -w", | ||
"prepare": "npm run build", | ||
"snyk-test": "snyk test", | ||
"pkg-binaries": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-10.21.0 -o snyk2spdx-macos" }, | ||
"pkg-binaries": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-10.21.0 -o snyk2spdx-macos" | ||
}, | ||
"bin": { | ||
"snyk2spdx": "dist/index.js" | ||
}, | ||
|