diff --git a/.github/workflows/cli.yaml b/.github/workflows/cli.yaml index 4656ec9..a0d58fb 100644 --- a/.github/workflows/cli.yaml +++ b/.github/workflows/cli.yaml @@ -13,7 +13,7 @@ on: env: APP_NAME: "WebSocketReflectorX" - APP_VERSION: "0.2.3" + APP_VERSION: "0.2.4" #------------------------------------------------------------------------------- # Workflow jobs @@ -79,20 +79,20 @@ jobs: # Deploy application - name: Compress Binaries - run: tar --transform='s!.*/!!' -cvf wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.tar.gz target/release/wsrx + run: zip -r -y -X wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.zip target/release/wsrx # Upload application ZIP - name: Upload application ZIP uses: actions/upload-artifact@v4 with: - name: wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.tar.gz - path: wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.tar.gz + name: wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.zip + path: wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.zip - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - files: wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.tar.gz + files: wsrx-cli-${{env.APP_VERSION}}-macOS-x86_64.zip ## macOS build ############################################################### build-mac-arm: @@ -116,20 +116,20 @@ jobs: # Deploy application - name: Compress Binaries - run: tar --transform='s!.*/!!' -cvf wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.tar.gz target/release/wsrx + run: zip -r -y -X wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.zip target/release/wsrx # Upload application ZIP - name: Upload application ZIP uses: actions/upload-artifact@v4 with: - name: wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.tar.gz - path: wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.tar.gz + name: wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.zip + path: wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.zip - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - files: wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.tar.gz + files: wsrx-cli-${{env.APP_VERSION}}-macOS-arm64.zip ## Windows build ############################################################# build-windows: @@ -153,17 +153,17 @@ jobs: # Deploy application - name: Compress Binaries - run: tar --transform='s!.*/!!' -cvf wsrx-cli-${{env.APP_VERSION}}-win64.tar.gz target/release/wsrx.exe + run: 7z a wsrx-cli-${{env.APP_VERSION}}-win64.zip target/release/wsrx.exe # Upload application ZIP - name: Upload application ZIP uses: actions/upload-artifact@v4 with: - name: wsrx-cli-${{env.APP_VERSION}}-win64.tar.gz - path: wsrx-cli-${{env.APP_VERSION}}-win64.tar.gz + name: wsrx-cli-${{env.APP_VERSION}}-win64.zip + path: wsrx-cli-${{env.APP_VERSION}}-win64.zip - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - files: wsrx-cli-${{env.APP_VERSION}}-win64.tar.gz + files: wsrx-cli-${{env.APP_VERSION}}-win64.zip diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index ec184eb..ffcfe26 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -16,7 +16,7 @@ on: env: APP_NAME: "WebSocketReflectorX" - APP_VERSION: "0.2.3" + APP_VERSION: "0.2.4" QT_VERSION: "6.6.2" #------------------------------------------------------------------------------- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7169a35..772dedb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ on: env: APP_NAME: "WebSocketReflectorX" - APP_VERSION: "0.2.3" + APP_VERSION: "0.2.4" QT_VERSION: "6.6.2" #------------------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bd4ccd..9589bf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20) set(VERSION_MAJOR 0) set(VERSION_MINOR 2) -set(VERSION_PATCH 3) +set(VERSION_PATCH 4) execute_process( COMMAND git describe --always --dirty diff --git a/deploy_linux.sh b/deploy_linux.sh index a4f8cdd..7ab2150 100755 --- a/deploy_linux.sh +++ b/deploy_linux.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash export APP_NAME="WebSocketReflectorX" -export APP_VERSION=0.2.3 +export APP_VERSION=0.2.4 export GIT_VERSION=$(git rev-parse --short HEAD) echo "> $APP_NAME packager (Linux x86_64) [v$APP_VERSION]" diff --git a/deploy_macos.sh b/deploy_macos.sh index bb44271..dc74981 100755 --- a/deploy_macos.sh +++ b/deploy_macos.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash export APP_NAME="WebSocketReflectorX" -export APP_VERSION=0.2.3 +export APP_VERSION=0.2.4 export GIT_VERSION=$(git rev-parse --short HEAD) echo "> $APP_NAME packager (macOS x86_64) [v$APP_VERSION]" diff --git a/deploy_windows.sh b/deploy_windows.sh index cdb17c5..e652cb4 100755 --- a/deploy_windows.sh +++ b/deploy_windows.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash export APP_NAME="WebSocketReflectorX" -export APP_VERSION=0.2.3 +export APP_VERSION=0.2.4 export GIT_VERSION=$(git rev-parse --short HEAD) echo "> $APP_NAME packager (Windows x86_64) [v$APP_VERSION]" diff --git a/macos/Info.plist b/macos/Info.plist index deb404a..8384232 100644 --- a/macos/Info.plist +++ b/macos/Info.plist @@ -18,7 +18,7 @@ tech.woooo.wsrx CFBundleVersion - 0.2.3 + 0.2.4 CFBundleShortVersionString 0.2 diff --git a/wsrx/Cargo.toml b/wsrx/Cargo.toml index da9ed0e..74bef1a 100644 --- a/wsrx/Cargo.toml +++ b/wsrx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wsrx" -version = "0.2.3" +version = "0.2.4" edition = "2021" authors = ["Reverier-Xu "] description = "Controlled TCP-over-WebSocket forwarding tunnel."