mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
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>
This commit is contained in:
parent
98a0399a21
commit
de90ec40fc
2
.github/workflows/deb.yml
vendored
2
.github/workflows/deb.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
package:
|
package:
|
||||||
if: github.repository == 'v2fly/v2ray-core'
|
if: github.repository == 'v2fly/v2ray-core'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: golang:1.17-bullseye
|
container: golang:1.19-bullseye
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Update & install dependencies
|
- name: Update & install dependencies
|
||||||
|
@ -14,8 +14,6 @@ execute_after_dh_auto_configure:
|
|||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
DH_GOPKG="github.com/v2fly/v2ray-core/v5/main" dh_auto_build -- -ldflags "-s -w"
|
DH_GOPKG="github.com/v2fly/v2ray-core/v5/main" dh_auto_build -- -ldflags "-s -w"
|
||||||
cd $(BUILDDIR); mv bin/main bin/v2ray
|
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:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- --no-source
|
dh_auto_install -- --no-source
|
||||||
|
Loading…
Reference in New Issue
Block a user