Skip to content

Commit

Permalink
Merge pull request #611 from snyk/fix/node8-binaries
Browse files Browse the repository at this point in the history
fix: make sure binaries are built on node8
  • Loading branch information
adrukh committed Jun 27, 2019
2 parents f6cae17 + 3ecb38c commit 8d77f32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 2 additions & 7 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
"prepare": [
"@semantic-release/npm",
{
"//": "build alpine binary inside an alpine container, or else the binary is broken",
"//": "build the alpine, macos, linux and windows binaries",
"path": "@semantic-release/exec",
"cmd": "docker run --rm -i -v `pwd`:/snyk node:alpine sh /snyk/scripts/alpine-build.sh"
},
{
"//": "build the regular macos, linux and windows binaries",
"path": "@semantic-release/exec",
"cmd": "npm i -g pkg && pkg ."
"cmd": "npm i -g pkg && pkg . -t node8-alpine-x64,node8-linux-x64,node8-macos-x64,node8-win-x64"
},
{
"//": "shasum all binaries",
Expand Down
9 changes: 0 additions & 9 deletions scripts/alpine-build.sh

This file was deleted.

0 comments on commit 8d77f32

Please sign in to comment.