From c57a1ca101f95b9abac511778e083f6e4c2a36d7 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Thu, 8 Feb 2024 22:25:11 +0800 Subject: [PATCH] Bump version 0.2.9 --- .github/workflows/release.yml | 8 ++++---- .gitignore | 1 + Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d888bf..93dccf7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,13 +59,13 @@ jobs: else cargo build --all-features --release --target ${{ matrix.target }} fi - cbindgen -c cbindgen.toml -l C -o target/${{ matrix.target }}/release/overtls-api.h + cbindgen -c cbindgen.toml -l C -o target/overtls-ffi.h if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then - powershell Compress-Archive -Path target/${{ matrix.target }}/release/overtls.exe, ./config.json, target/${{ matrix.target }}/release/overtls-api.h, target/${{ matrix.target }}/release/overtls.dll -DestinationPath release/overtls-${{ matrix.target }}.zip + powershell Compress-Archive -Path target/${{ matrix.target }}/release/overtls.exe, ./config.json, target/overtls-ffi.h, target/${{ matrix.target }}/release/overtls.dll -DestinationPath release/overtls-${{ matrix.target }}.zip elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then - zip -j release/overtls-${{ matrix.target }}.zip target/${{ matrix.target }}/release/overtls ./config.json target/${{ matrix.target }}/release/overtls-api.h target/${{ matrix.target }}/release/libovertls.dylib + zip -j release/overtls-${{ matrix.target }}.zip target/${{ matrix.target }}/release/overtls ./config.json target/overtls-ffi.h target/${{ matrix.target }}/release/libovertls.dylib elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then - zip -j release/overtls-${{ matrix.target }}.zip target/${{ matrix.target }}/release/overtls ./config.json target/${{ matrix.target }}/release/overtls-api.h target/${{ matrix.target }}/release/libovertls.so + zip -j release/overtls-${{ matrix.target }}.zip target/${{ matrix.target }}/release/overtls ./config.json target/overtls-ffi.h target/${{ matrix.target }}/release/libovertls.so fi - name: Upload diff --git a/.gitignore b/.gitignore index f7a9f15..83e0d53 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +overtls-ffi.h examples/ nginx_signing.key overtls-daemon.sh diff --git a/Cargo.toml b/Cargo.toml index 3d77863..23f2e45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "overtls" -version = "0.2.8" +version = "0.2.9" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html