Skip to content

Commit

Permalink
include shell in the release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Wonlaw committed Oct 30, 2024
1 parent 68a6eea commit a23c78d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
env:
# See https://github.com/nodejs/release#release-schedule
# Node.js v16 EOL = 2023-09-11. v21 EOL = 2024-06-01.
NODE_BUILD_CMD: npx --no-install prebuild -r node -t 18.0.0 -t 20.0.0 -t 22.0.0 -t 23.0.0 --include-regex 'better_sqlite3.node$'
NODE_BUILD_CMD: npx --no-install prebuild -r node -t 18.0.0 -t 20.0.0 -t 22.0.0 -t 23.0.0 --include-regex '_sqlite3'
# Merge with NODE_BUILD_CMD when Node.js v18 is EOL
NO_V18_NODE_BUILD_CMD: npx --no-install prebuild -r node -t 20.0.0 -t 22.0.0 -t 23.0.0 --include-regex 'better_sqlite3.node$'
NO_V18_NODE_BUILD_CMD: npx --no-install prebuild -r node -t 20.0.0 -t 22.0.0 -t 23.0.0 --include-regex '_sqlite3'
# See https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy
# Electron v25 EOL = 2023-12-05. v26 EOL = 2024-02-20. v27 EOL = 2024-04-16. v28 EOL = 2024-06-11. v29 EOL = 2024-08-20.

Expand Down
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
},
{
'target_name': 'shell',
'target_name': 'zero_sqlite3',
'type': 'executable',
'dependencies': ['deps/sqlite3.gyp:locate_sqlite3'],
'sources': ['<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.c', '<(SHARED_INTERMEDIATE_DIR)/sqlite3/shell.c'],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rocicorp/zero-sqlite3",
"version": "1.0.0",
"version": "1.0.1",
"description": "better-sqlite3 on bedrock",
"homepage": "https://github.com/rocicorp/zero-sqlite3",
"author": "Rocicorp",
Expand All @@ -10,7 +10,7 @@
},
"main": "lib/index.js",
"bin": {
"zero-sqlite3": "./build/Release/shell"
"zero-sqlite3": "./build/Release/zero_sqlite3"
},
"files": [
"binding.gyp",
Expand Down

0 comments on commit a23c78d

Please sign in to comment.