Browse Source

Fix: remove v2ctl from debian/rules (#1954)

* Remove v2ctl from debian/rules

It seems to be left over from https://github.com/v2fly/v2ray-core/pull/488

* Chore: use Go v1.19 to build debian package

Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
Felix Yan 3 years ago
parent
commit
de90ec40fc
2 changed files with 1 additions and 3 deletions
  1. 1 1
      .github/workflows/deb.yml
  2. 0 2
      release/debian/rules

+ 1 - 1
.github/workflows/deb.yml

@@ -21,7 +21,7 @@ jobs:
   package:
     if: github.repository == 'v2fly/v2ray-core'
     runs-on: ubuntu-latest
-    container: golang:1.17-bullseye
+    container: golang:1.19-bullseye
 
     steps:
       - name: Update & install dependencies

+ 0 - 2
release/debian/rules

@@ -14,8 +14,6 @@ execute_after_dh_auto_configure:
 override_dh_auto_build:
 	DH_GOPKG="github.com/v2fly/v2ray-core/v5/main" dh_auto_build -- -ldflags "-s -w"
 	cd $(BUILDDIR); mv bin/main bin/v2ray
-	DH_GOPKG="github.com/v2fly/v2ray-core/v5/infra/control/main" dh_auto_build -- -ldflags "-s -w" -tags confonly
-	cd $(BUILDDIR); mv bin/main bin/v2ctl
 
 override_dh_auto_install:
 	dh_auto_install -- --no-source