Browse Source

Chore: rename binary for Windows (#1356)

秋のかえで 4 years ago
parent
commit
0f1e21ceba
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/workflows/release.yml

+ 6 - 0
.github/workflows/release.yml

@@ -110,6 +110,12 @@ jobs:
           mkdir -p build_assets
           go build -v -o build_assets/v2ray -trimpath -ldflags "-s -w -buildid=" ./main
 
+      - name: Rename Windows V2Ray
+        if: matrix.goos == 'windows'
+        run: |
+          cd ./build_assets || exit 1
+          mv v2ray v2ray.exe
+
       - name: Download geo files
         run: |
           wget -O release/config/geoip.dat "https://raw.githubusercontent.com/v2fly/geoip/release/geoip.dat"