Skip to content

Commit

Permalink
Bump version to turso-php-extension-v1.2.4 based on patch changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
darkterminal committed Jun 17, 2024
1 parent 0837131 commit 2612e83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
dirname="$binary_name-$version-${{ matrix.target }}"
mkdir "$dirname"
if [ "${{ matrix.os }}" = "macos-latest" ]; then
mv "target/${{ matrix.target }}/release/lib$binary_name.dylib" "$dirname" && mv "libsql_php_extension.stubs.php" "$dirname"
cp "target/${{ matrix.target }}/release/lib$binary_name.dylib" "target/${{ matrix.target }}/release/lib$binary_name.so"
mv "target/${{ matrix.target }}/release/lib$binary_name.dylib" "$dirname" && mv "target/${{ matrix.target }}/release/lib$binary_name.so" "$dirname" && mv "libsql_php_extension.stubs.php" "$dirname"
else
mv "target/${{ matrix.target }}/release/lib$binary_name.so" "$dirname" && mv "libsql_php_extension.stubs.php" "$dirname"
fi
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libsql_php"
version = "1.2.3"
version = "1.2.4"
edition = "2021"
authors = ["Imam Ali Mustofa <[email protected]>"]

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ lazy_static::lazy_static! {
static ref STATEMENT_REGISTRY: Mutex<HashMap<String, libsql::Statement>> = Mutex::new(HashMap::new());
}

pub const LIBSQL_PHP_VERSION: &str = "1.2.3";
pub const LIBSQL_PHP_VERSION: &str = "1.2.4";

/// Represents the flag for opening a database in read-only mode.
pub const LIBSQL_OPEN_READONLY: i32 = 1;
Expand Down Expand Up @@ -397,7 +397,7 @@ pub extern "C" fn libsql_php_extension_info(_module: *mut ext_php_rs::zend::Modu
ext_php_rs::ffi::php_info_print_table_row(
2,
"LibSQL PHP version\0".as_ptr() as *const i8,
"1.2.3\0".as_ptr() as *const i8,
"1.2.4\0".as_ptr() as *const i8,
);
ext_php_rs::ffi::php_info_print_table_row(
2,
Expand Down

0 comments on commit 2612e83

Please sign in to comment.