From a23c78d34ee7c2aa2ce50dd92efe2299c923204a Mon Sep 17 00:00:00 2001 From: Matthew Wonlaw Date: Tue, 29 Oct 2024 19:52:59 -0400 Subject: [PATCH] include `shell` in the release artifacts --- .github/workflows/build.yml | 4 ++-- binding.gyp | 2 +- package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f9c1f01..a54ceeee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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. diff --git a/binding.gyp b/binding.gyp index f438c45e..da3338dd 100644 --- a/binding.gyp +++ b/binding.gyp @@ -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'], diff --git a/package.json b/package.json index 745939ed..7792aa1d 100644 --- a/package.json +++ b/package.json @@ -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", @@ -10,7 +10,7 @@ }, "main": "lib/index.js", "bin": { - "zero-sqlite3": "./build/Release/shell" + "zero-sqlite3": "./build/Release/zero_sqlite3" }, "files": [ "binding.gyp",