Skip to content

Commit

Permalink
chore: Include language packs when building the installation package
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghe-fit2cloud committed Dec 10, 2024
1 parent 4635047 commit 06cc7fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ archives:
- install.sh
- README.md
- LICENSE
- GeoIP.mmdb
- lang/*

checksum:
name_template: 'checksums.txt'
Expand Down
6 changes: 6 additions & 0 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 06cc7fc

Please sign in to comment.