Skip to content

Commit 17ccf22

Browse files
committed
improve release filenames
1 parent e5df7dd commit 17ccf22

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ jobs:
7171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7272
GIT_TAG: ${{ github.ref_name }}
7373
run: |
74-
mv target/release/libphp_ext_fs_notify.so target/release/linux-php${{ matrix.php-version }}-libphp_ext_fs_notify.so
74+
mv target/release/libphp_ext_fs_notify.so target/release/linux-php${{ matrix.php-version }}-fs_notify.so
7575
gh release upload "$GIT_TAG" \
7676
--repo="$GITHUB_REPOSITORY" \
77-
target/release/linux-php${{ matrix.php-version }}-libphp_ext_fs_notify.so
77+
target/release/linux-php${{ matrix.php-version }}-fs_notify.so
7878
7979
- name: Create Macos extension file (.dylib)
8080
if: matrix.os == 'macos-12'
8181
env:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8383
GIT_TAG: ${{ github.ref_name }}
8484
run: |
85-
mv target/release/libphp_ext_fs_notify.dylib target/release/macos-php${{ matrix.php-version }}-libphp_ext_fs_notify.dylib
85+
mv target/release/libphp_ext_fs_notify.dylib target/release/macos-php${{ matrix.php-version }}-fs_notify.dylib
8686
gh release upload "$GIT_TAG" \
8787
--repo="$GITHUB_REPOSITORY" \
88-
target/release/macos-php${{ matrix.php-version }}-libphp_ext_fs_notify.dylib
88+
target/release/macos-php${{ matrix.php-version }}-fs_notify.dylib

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PHP Extension for cross-platform filesystem notifications
22

33
Uses [PHPER framework](https://github.com/phper-framework/phper) and [notify-rs](https://github.com/notify-rs/notify)
4-
to build the extension.
4+
to build the extension. Supports PHP 8.1, 8.2 and 8.3 for Linux and macOS.
55

66
## Installation
77

@@ -14,10 +14,10 @@ PHP_VERSION=`php -r "echo PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION;"`
1414
PHP_EXTENSION_DIR=`php -r "echo ini_get('extension_dir');"`
1515

1616
# download the extension file into the extension dir
17-
curl -o "${PHP_EXTENSION_DIR}/libphp_ext_fs_notify.so" "https://github.com/genkgo/php-ext-fs-notify/releases/latest/download/linux-php${PHP_VERSION}-libphp_ext_fs_notify.so"
17+
curl -o "${PHP_EXTENSION_DIR}/fs_notify.so" "https://github.com/genkgo/php-ext-fs-notify/releases/latest/download/linux-php${PHP_VERSION}-fs_notify.so"
1818

1919
# enable the extension
20-
echo 'extension=libphp_ext_fs_notify.so' > /etc/php/${PHP_VERSION}/cli/conf.d/20-libphp_ext_fs_notify.ini
20+
echo 'extension=fs_notify.so' > /etc/php/${PHP_VERSION}/cli/conf.d/20-fs_notify.ini
2121
```
2222

2323
## Usage

0 commit comments

Comments
 (0)