Skip to content

Commit

Permalink
fix: alpine binary built just as any other
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Drukh committed Jun 27, 2019
1 parent 40d0599 commit 3ecb38c
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 . -t node8-linux-x64,node8-macos-x64,node8-win-x64"
"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 3ecb38c

Please sign in to comment.