diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ded0a4d..82c4f92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,7 @@ jobs: v: true x: false race: false + tags: timetzdata ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=${{ steps.extract_branch.outputs.tag }} buildmode: default diff --git a/.github/workflows/test-on-pr.yml b/.github/workflows/test-on-pr.yml index ae319a6..182b77d 100644 --- a/.github/workflows/test-on-pr.yml +++ b/.github/workflows/test-on-pr.yml @@ -33,6 +33,7 @@ jobs: v: true x: false race: false + tags: timetzdata ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test buildmode: default diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08bf874..98762dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,5 +40,6 @@ jobs: v: true x: false race: false + tags: timetzdata ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test buildmode: default diff --git a/script/install_en.sh b/script/install_en.sh index be927ee..dbf5cb3 100755 --- a/script/install_en.sh +++ b/script/install_en.sh @@ -182,7 +182,7 @@ before_show_menu() { install_base() { (command -v git >/dev/null 2>&1 && command -v curl >/dev/null 2>&1 && command -v wget >/dev/null 2>&1 && command -v unzip >/dev/null 2>&1 && command -v getenforce >/dev/null 2>&1) || - (install_soft curl wget git unzip tzdata) + (install_soft curl wget git unzip) } install_arch() {