Skip to content

Commit f40b800

Browse files
committed
Bump version 0.1.7
1 parent 44ca51c commit f40b800

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish-exe.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,20 @@ jobs:
6363
else
6464
cargo build --all-features --release --target ${{ matrix.target }}
6565
fi
66-
cbindgen --config cbindgen.toml -o target/dns2socks-ffi.h
66+
cbindgen --config cbindgen.toml -o target/dns2socks.h
6767
if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then
6868
powershell -Command "(Get-Item README.md).LastWriteTime = Get-Date"
69-
powershell Compress-Archive -Path target/${{ matrix.target }}/release/dns2socks.exe, README.md, target/dns2socks-ffi.h, target/${{ matrix.target }}/release/dns2socks.dll -DestinationPath mypubdir4/dns2socks-${{ matrix.target }}.zip
69+
powershell Compress-Archive -Path target/${{ matrix.target }}/release/dns2socks.exe, README.md, target/dns2socks.h, target/${{ matrix.target }}/release/dns2socks.dll -DestinationPath mypubdir4/dns2socks-${{ matrix.target }}.zip
7070
elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then
71-
zip -j mypubdir4/dns2socks-${{ matrix.target }}.zip target/${{ matrix.target }}/release/dns2socks README.md target/dns2socks-ffi.h target/${{ matrix.target }}/release/libdns2socks.dylib
71+
zip -j mypubdir4/dns2socks-${{ matrix.target }}.zip target/${{ matrix.target }}/release/dns2socks README.md target/dns2socks.h target/${{ matrix.target }}/release/libdns2socks.dylib
7272
if [[ "${{ matrix.target }}" == "x86_64-apple-darwin" ]]; then
7373
./build-aarch64-apple-ios.sh
7474
zip -r mypubdir4/dns2socks-aarch64-apple-ios-xcframework.zip ./dns2socks.xcframework/
7575
./build-apple.sh
7676
zip -r mypubdir4/dns2socks-apple-xcframework.zip ./dns2socks.xcframework/
7777
fi
7878
elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
79-
zip -j mypubdir4/dns2socks-${{ matrix.target }}.zip target/${{ matrix.target }}/release/dns2socks README.md target/dns2socks-ffi.h target/${{ matrix.target }}/release/libdns2socks.so
79+
zip -j mypubdir4/dns2socks-${{ matrix.target }}.zip target/${{ matrix.target }}/release/dns2socks README.md target/dns2socks.h target/${{ matrix.target }}/release/libdns2socks.so
8080
fi
8181
8282
- name: Publish

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dns2socks"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/ssrlive/dns2socks"

0 commit comments

Comments
 (0)