diff --git a/.woodpecker/.release_code.yml b/.woodpecker/.release_code.yml index a42fe7c..ea77639 100644 --- a/.woodpecker/.release_code.yml +++ b/.woodpecker/.release_code.yml @@ -11,8 +11,10 @@ pipeline: - npm run prepublish buildBin: image: node:18 + pull: true commands: - - apt-get install zip tar + - apt-get update + - apt-get install zip tar -y - mkdir outbag_server - mkdir outbag_server/dist - mkdir upload diff --git a/package.json b/package.json index edf0af3..a8388f9 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "build-macos-x64": "mkdir build/bin & pkg -t node18-macos-x64 -o build/bin/outbag-macos-x64 build/bundle/main.js", "build-macos-arm64": "mkdir build/bin & pkg -t node18-macos-arm64 -o build/bin/outbag-macos-arm64 build/bundle/main.js", "build-all": "mkdir build/bin & pkg -t node18-linux-x64,node18-linux-arm64,node18-win-x64,node18-win-arm64,node18-macos-x64 -o build/bin/outbag build/bundle/main.js", - "build-amd": "mkdir build/bin & pkg -t node18-linux-x64,node18-win-x64,node18-macos-x64 -o build/bin/outbag build/bundle/main.js", - "build-arm": "mkdir build/bin & pkg -t node18-linux-arm64,node18-win-arm64 -o build/bin/outbag build/bundle/main.js", + "build-amd": "mkdir build/bin & pkg -t node18-linux-x64,node18-win-x64,node18-macos-x64 -o build/bin/outbag-amd64 build/bundle/main.js", + "build-arm": "mkdir build/bin & pkg -t node18-linux-arm64,node18-win-arm64 -o build/bin/outbag-arm64 build/bundle/main.js", "build-self": "mkdir build/bin & pkg -t node18 -o build/bin/outbag build/bundle/main.js" }, "repository": {