Skip to content

Commit d69d327

Browse files
committed
fix(flutter): ensure native_libraries included in pub.dev package
1 parent d720ca5 commit d69d327

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

.github/workflows/flutter-package.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ jobs:
7676
# Update version
7777
sed -i "s/^version: .*/version: $VERSION/" $FLUTTER_DIR/pubspec.yaml
7878
79+
# Debug: show files before publishing
80+
echo "=== .pubignore contents ==="
81+
cat $FLUTTER_DIR/.pubignore || echo "No .pubignore found"
82+
echo ""
83+
echo "=== native_libraries contents ==="
84+
find $FLUTTER_DIR/native_libraries -type f 2>/dev/null || echo "No native_libraries found"
85+
echo ""
86+
echo "=== Full package tree ==="
87+
find $FLUTTER_DIR -type f | head -50
88+
7989
# Publish to pub.dev
8090
cd $FLUTTER_DIR
8191
dart pub get

packages/flutter/.pubignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Only ignore development files, NOT native_libraries
22
.dart_tool/
33
pubspec.lock
4+
5+
# Explicitly include native_libraries (override any parent .gitignore)
6+
!native_libraries/
7+
!native_libraries/**

packages/flutter/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 1.2.2
3+
## 1.2.3
44

55
- Initial Flutter package release
66
- Added support for Android 16kb page size devices

packages/flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sqlite_js
2-
version: 1.2.2
2+
version: 1.2.3
33
description: >
44
SQLite JS is a powerful extension that brings JavaScript capabilities to SQLite.
55
With this extension, you can create custom SQLite functions, aggregates,

src/sqlitejs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "sqlite3.h"
1717
#endif
1818

19-
#define SQLITE_JS_VERSION "1.2.2"
19+
#define SQLITE_JS_VERSION "1.2.3"
2020

2121
int sqlite3_js_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
2222
const char *sqlitejs_version (void);

0 commit comments

Comments
 (0)