Skip to content

Commit 864fa27

Browse files
committed
fix(packages/node): library binary correct architecture artifactFolder and specify latest release tag in the main branch release job
1 parent b917d7a commit 864fa27

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,15 @@ jobs:
404404
platform_name=$(basename "$platform_dir")
405405
echo " Publishing @sqliteai/sqlite-sync-${platform_name}..."
406406
cd "$platform_dir"
407-
npm publish --provenance --access public
407+
npm publish --provenance --access public --tag latest
408408
cd ..
409409
echo " ✓ Published @sqliteai/sqlite-sync-${platform_name}"
410410
done
411411
cd ..
412412
413413
# Publish main package
414414
echo "Publishing main package to npm..."
415-
npm publish --provenance --access public
415+
npm publish --provenance --access public --tag latest
416416
echo "✓ Published @sqliteai/sqlite-sync@${{ steps.tag.outputs.version }}"
417417
418418
echo ""
@@ -432,7 +432,7 @@ jobs:
432432
433433
echo "Publishing @sqliteai/sqlite-sync-expo to npm..."
434434
cd expo-package
435-
npm publish --provenance --access public
435+
npm publish --provenance --access public --tag latest
436436
echo "✓ Published @sqliteai/sqlite-sync-expo@${{ steps.tag.outputs.version }}"
437437
438438
- uses: softprops/action-gh-release@v2.2.1

packages/node/generate-platform-packages.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ const PLATFORMS = [
2424
cpu: ['arm64'],
2525
description: 'SQLite Sync extension for macOS ARM64 (Apple Silicon)',
2626
binaryName: 'cloudsync.dylib',
27-
artifactFolder: 'cloudsync-macos',
27+
artifactFolder: 'cloudsync-macos-arm64',
2828
},
2929
{
3030
name: 'darwin-x86_64',
3131
os: ['darwin'],
3232
cpu: ['x64', 'ia32'],
3333
description: 'SQLite Sync extension for macOS x86_64 (Intel)',
3434
binaryName: 'cloudsync.dylib',
35-
artifactFolder: 'cloudsync-macos',
35+
artifactFolder: 'cloudsync-macos-x86_64',
3636
},
3737
{
3838
name: 'linux-arm64',

src/cloudsync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
extern "C" {
2121
#endif
2222

23-
#define CLOUDSYNC_VERSION "0.8.62"
23+
#define CLOUDSYNC_VERSION "0.8.63"
2424

2525
int sqlite3_cloudsync_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
2626

0 commit comments

Comments
 (0)