From 06cc7fcc02a6e53c19c4b6d3682db4d9188b8e10 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Tue, 10 Dec 2024 17:50:49 +0800 Subject: [PATCH] chore: Include language packs when building the installation package --- .goreleaser.yaml | 2 +- ci/script.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e3c781fa1..7bc91b40f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -42,7 +42,7 @@ archives: - install.sh - README.md - LICENSE - - GeoIP.mmdb + - lang/* checksum: name_template: 'checksums.txt' diff --git a/ci/script.sh b/ci/script.sh index edb142fba..8509dd781 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -21,4 +21,10 @@ if [ ! -f "GeoIP.mmdb" ]; then wget https://resource.1panel.hk/geo/GeoIP.mmdb fi +if [ ! -f "lang.tar.gz" ]; then + wget https://resource.1panel.hk/language/lang.tar.gz + tar zxvf lang.tar.gz + rm -rf lang.tar.gz +fi + chmod 755 1pctl install.sh