From 2a7b1d5b518c42ba15c3276c2e7ff56030030578 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 30 Jun 2024 02:29:05 +0000 Subject: [PATCH] =?UTF-8?q?v0.0.2=20-=20=E4=BC=98=E5=8C=96=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E7=9A=84=E9=A2=9C=E8=89=B2=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 2 +- commediatests/netflix/printer/printer.go | 4 ++-- commediatests/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0c53bbb..47bb19a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: run: | git config --global user.name 'github-actions' git config --global user.email 'github-actions@github.com' - TAG="v0.0.1-$(date +'%Y%m%d%H%M%S')" + TAG="v0.0.2-$(date +'%Y%m%d%H%M%S')" git tag $TAG git push origin $TAG env: diff --git a/commediatests/netflix/printer/printer.go b/commediatests/netflix/printer/printer.go index 267992f..f50675f 100644 --- a/commediatests/netflix/printer/printer.go +++ b/commediatests/netflix/printer/printer.go @@ -38,7 +38,7 @@ func printResult(ipVersion string, vResponse verify.VerifyResponse, language str result += Green("您的出口IP可以观看此电影") + "\n" result += Green("NF所识别的IP地域信息:") + vResponse.CountryName + "\n" default: - result += Purple("解锁检测失败,请稍后重试") + "\n" + result += Yellow("解锁检测失败,请稍后重试") + "\n" } } else if language == "en" { switch code := vResponse.StatusCode; { @@ -61,7 +61,7 @@ func printResult(ipVersion string, vResponse verify.VerifyResponse, language str result += Green("Your exit IP can watch this movie") + "\n" result += Green("Netflix identified IP region: "+vResponse.CountryName) + "\n" default: - result += Purple("Unlock detection failed, please try again later") + "\n" + result += Yellow("Unlock detection failed, please try again later") + "\n" } } return result diff --git a/commediatests/version.go b/commediatests/version.go index 226526c..d44d771 100644 --- a/commediatests/version.go +++ b/commediatests/version.go @@ -1,4 +1,4 @@ package commediatests -const ComMediaTestsVersion = "v0.0.1" // git tag v0.0.1 +const ComMediaTestsVersion = "v0.0.2" var EnableLoger bool