Skip to content

Commit

Permalink
fix: bump node version to latest available 12
Browse files Browse the repository at this point in the history
Version 12.9.0 used previously had a bug that wouldn't delete folders
recursively. This resulted in cloned repos not being deleted. Upgrading
to the latest available v12 fixes the issue with the exception of
alpine.

Nexe only supports alpine node 12.9.1 which does not have the fix yet.
We will address that in a separate commit, for now unblocking other
builds.

Signed-off-by: Jacek Rzeniewicz <[email protected]>
  • Loading branch information
ariadna-roman authored and jacek-rzrz committed Jun 30, 2023
1 parent daf6714 commit 0f1e60f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
{
"//": "build the macos",
"path": "@semantic-release/exec",
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-12.9.0 -o snyk-api-import-macos"
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-12.18.2 -o snyk-api-import-macos"
},
{
"//": "build the linux",
"path": "@semantic-release/exec",
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t linux-x64-12.9.0 -o snyk-api-import-linux"
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t linux-x64-12.16.2 -o snyk-api-import-linux"
},
{
"//": "build the alpine",
"path": "@semantic-release/exec",
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t alpine-x64-12.9.0 -o snyk-api-import-alpine"
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t alpine-x64-12.9.1 -o snyk-api-import-alpine"
},
{
"//": "build the windows binaries",
"path": "@semantic-release/exec",
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t windows-x64-12.9.0 -o snyk-api-import-win.exe"
"cmd": "npx [email protected] dist/index.js -r './dist/**/*.js' -t windows-x64-12.18.2 -o snyk-api-import-win.exe"
},
{
"//": "shasum all binaries",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"build-watch": "tsc -w",
"prepare": "npm run build",
"snyk-test": "snyk test",
"pkg-binaries-linux": "npx [email protected] dist/index.js -r './dist/**/*.js' -t linux-x64-12.9.0 -o snyk-api-import-linux",
"pkg-binaries": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-12.9.0 -o snyk-api-import-macos"
"pkg-binaries-linux": "npx [email protected] dist/index.js -r './dist/**/*.js' -t linux-x64-12.16.2 -o snyk-api-import-linux",
"pkg-binaries": "npx [email protected] dist/index.js -r './dist/**/*.js' -t mac-x64-12.18.2 -o snyk-api-import-macos"
},
"types": "./dist/index.d.ts",
"repository": {
Expand Down

0 comments on commit 0f1e60f

Please sign in to comment.