From de90ec40fc21ba81563fe6f2a94352a12d06c944 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sun, 18 Sep 2022 08:46:32 +0800 Subject: [PATCH] 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> --- .github/workflows/deb.yml | 2 +- release/debian/rules | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml index 30e8f08b5..8d6bcde11 100644 --- a/.github/workflows/deb.yml +++ b/.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 diff --git a/release/debian/rules b/release/debian/rules index 5064961f3..412d60df5 100755 --- a/release/debian/rules +++ b/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