File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -317,6 +317,10 @@ jobs:
317317 - name : Update version in files
318318 run : python update_version.py ${{ steps.version.outputs.VERSION }}
319319
320+ - name : Set RUSTFLAGS for macOS
321+ if : runner.os == 'macOS'
322+ run : echo "RUSTFLAGS=-C link-arg=-undefined -C link-arg=dynamic_lookup" >> $GITHUB_ENV
323+
320324 - name : Build PHP extension
321325 run : |
322326 cd bindings/php
Original file line number Diff line number Diff line change 11[package ]
22name = " npdatetime-php"
3- version = " 0.2.0 "
3+ version = " 0.2.1 "
44edition = " 2021"
55publish = false
66
Original file line number Diff line number Diff line change 11{
2- "name" : " 4mritgiri/npdatetime-php " ,
2+ "name" : " 4mritgiri/npdatetime" ,
33 "description" : " PHP extension for Nepali (Bikram Sambat) date conversion and manipulation" ,
44 "type" : " library" ,
55 "keywords" : [
Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ def update_version(version: str):
9797 f"__version__ = '{ version } '" ,
9898 "Django __init__.py"
9999 ),
100+
101+ # PHP extension
102+ (
103+ root / "bindings/php/Cargo.toml" ,
104+ r'^version = ".*"' ,
105+ f'version = "{ version } "' ,
106+ "PHP Cargo.toml"
107+ ),
100108 ]
101109
102110 success_count = 0
You can’t perform that action at this time.
0 commit comments