Skip to content

Commit 0d56ab9

Browse files
author
Jahed Ahmed
authoredJul 30, 2021
Merge pull request #2135 from snyk/chore/compress-binaries
chore: compress binary releases
2 parents 294148c + 1ba5025 commit 0d56ab9

File tree

3 files changed

+5
-112
lines changed

3 files changed

+5
-112
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config.local.json
55
local.log
66
/patches/
77
**/dist
8+
binary-releases
89
tmp
910
.DS_Store
1011
/package-lock.json

‎.releaserc

-108
This file was deleted.

‎release-scripts/make-binaries.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ mkdir binary-releases
66
# adds a file to identify a build as a standalone binary
77
echo '' >dist/STANDALONE
88

9-
npx pkg . -t node14-alpine-x64 -o binary-releases/snyk-alpine
10-
npx pkg . -t node14-linux-x64 -o binary-releases/snyk-linux
11-
npx pkg . -t node14-macos-x64 -o binary-releases/snyk-macos
12-
npx pkg . -t node14-win-x64 -o binary-releases/snyk-win-unsigned.exe
9+
npx pkg . --compress Brotli -t node14-alpine-x64 -o binary-releases/snyk-alpine
10+
npx pkg . --compress Brotli -t node14-linux-x64 -o binary-releases/snyk-linux
11+
npx pkg . --compress Brotli -t node14-macos-x64 -o binary-releases/snyk-macos
12+
npx pkg . --compress Brotli -t node14-win-x64 -o binary-releases/snyk-win-unsigned.exe
1313

1414
# build docker package
1515
./release-scripts/docker-desktop-release.sh

0 commit comments

Comments
 (0)
Please sign in to comment.