From b527a528eac913b28c6624f6467941d89d819407 Mon Sep 17 00:00:00 2001 From: 006lp <144674902+006lp@users.noreply.github.com> Date: Sat, 19 Apr 2025 03:16:39 +0800 Subject: [PATCH 1/3] docs: Update README.zh_CN.md (#2920) --- README.zh_CN.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.zh_CN.md b/README.zh_CN.md index c221dc36..995a6ee1 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -40,7 +40,7 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. 要安装您想要的版本,请使用以下安装命令。例如,ver `v1.7.9`: ``` -VERSION=v1.7.9 && <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION +VERSION=v1.7.9 && bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION ``` ### SSL证书 @@ -586,4 +586,4 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go ## Star趋势 -[![Stargazers over time](https://starchart.cc/MHSanaei/3x-ui.svg?variant=adaptive)](https://starchart.cc/MHSanaei/3x-ui) \ No newline at end of file +[![Stargazers over time](https://starchart.cc/MHSanaei/3x-ui.svg?variant=adaptive)](https://starchart.cc/MHSanaei/3x-ui) From 4dc8974af067c96488b5edea964a1102799243f7 Mon Sep 17 00:00:00 2001 From: Pk-web6936 <202365630+Pk-web6936@users.noreply.github.com> Date: Sat, 19 Apr 2025 00:01:35 +0330 Subject: [PATCH 2/3] docs: Update README (#2921) * Update README.es_ES.md * Update README.ru_RU.md --- README.es_ES.md | 4 ++-- README.ru_RU.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.es_ES.md b/README.es_ES.md index 1438cc2d..afa1b8e3 100644 --- a/README.es_ES.md +++ b/README.es_ES.md @@ -40,7 +40,7 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. Para instalar la versión deseada, utiliza el siguiente comando de instalación. Por ejemplo, ver `v1.7.9`: ``` -VERSION=v1.7.9 && <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION +VERSION=v1.7.9 && bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION ``` ## Certificado SSL @@ -586,4 +586,4 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go ## Estrellas a lo largo del tiempo -[![Stargazers over time](https://starchart.cc/MHSanaei/3x-ui.svg?variant=adaptive)](https://starchart.cc/MHSanaei/3x-ui) \ No newline at end of file +[![Stargazers over time](https://starchart.cc/MHSanaei/3x-ui.svg?variant=adaptive)](https://starchart.cc/MHSanaei/3x-ui) diff --git a/README.ru_RU.md b/README.ru_RU.md index b06c62bd..bc0170bb 100644 --- a/README.ru_RU.md +++ b/README.ru_RU.md @@ -40,7 +40,7 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. Чтобы установить желаемую версию, используйте следующую команду установки. Например, ver `v1.7.9`: ``` -VERSION=v1.7.9 && <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION +VERSION=v1.7.9 && bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION ``` ## SSL Сертификат @@ -593,4 +593,4 @@ XUI_BIN_FOLDER="bin" XUI_DB_FOLDER="/etc/x-ui" go build main.go ## Число звёзд со временем -[![Stargazers over time](https://starchart.cc/MHSanaei/3x-ui.svg?variant=adaptive)](https://starchart.cc/MHSanaei/3x-ui) \ No newline at end of file +[![Stargazers over time](https://starchart.cc/MHSanaei/3x-ui.svg?variant=adaptive)](https://starchart.cc/MHSanaei/3x-ui) From cf02f02210b6501b8533a3cbbf96ed2077f71db5 Mon Sep 17 00:00:00 2001 From: Pk-web6936 <202365630+Pk-web6936@users.noreply.github.com> Date: Sat, 19 Apr 2025 00:02:38 +0330 Subject: [PATCH 3/3] automatic Build and Release (#2919) * Update release.yml * Update release.yml * Update release.yml --- .github/workflows/release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d267b5d..3f035f69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,17 @@ -name: Release 3X-UI +name: Build and Release 3X-UI on: workflow_dispatch: + release: + types: [published] push: - tags: - - "v*.*.*" + pull_request: + types: [opened, synchronize, reopened] jobs: build: + permissions: + contents: write strategy: matrix: platform: @@ -27,6 +31,7 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.mod + check-latest: true - name: Install dependencies run: | @@ -45,7 +50,7 @@ jobs: sudo apt install gcc-s390x-linux-gnu fi - - name: Build x-ui + - name: Build 3x-ui run: | export CGO_ENABLED=1 export GOOS=linux @@ -134,6 +139,7 @@ jobs: - name: Upload files to GH release uses: svenstaro/upload-release-action@v2 + if: github.event_name == 'release' && github.event.action == 'published' with: repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref }}