diff --git a/.github/workflows/sync-version.yaml b/.github/workflows/sync-version.yaml index a44dc00..7af4c75 100644 --- a/.github/workflows/sync-version.yaml +++ b/.github/workflows/sync-version.yaml @@ -35,4 +35,4 @@ jobs: git config --local user.name "rick" git add config.yaml (git status | grep config.yaml) && git commit -m 'Auto commit by rick bot' - git push https://linuxsuren:${{ secrets.GITHUB_SECRETS }}@github.com/jenkins-zh/docker-zh.git + git push https://linuxsuren:${{ secrets.GITHUB_SECRETS }}@github.com/jenkins-zh/jenkins-formulas.git diff --git a/README-zh.md b/README-zh.md index 7e8da40..7ab3090 100644 --- a/README-zh.md +++ b/README-zh.md @@ -16,7 +16,7 @@ `docker run -u root -v /var/jenkins/data:/var/jenkins_home -p 8080:8080 jenkinszh/jenkins-zh:lts` -[点击这里](https://github.com/jenkins-zh/docker-zh/packages/134536/versions)查看所有 `docker tag` 的版本。 +[点击这里](https://github.com/jenkins-zh/jenkins-formulas/packages/134536/versions)查看所有 `docker tag` 的版本。 ## war [![下载](https://api.bintray.com/packages/jenkins-zh/generic/jenkins/images/download.svg) ](https://bintray.com/jenkins-zh/generic/jenkins/_latestVersion) diff --git a/README.md b/README.md index 687e4aa..dd116ec 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ You can mount the volume by the following command: `docker run -u root -v /var/jenkins/data:/var/jenkins_home -p 8080:8080 jenkinszh/jenkins-zh:lts` -Find all tags by [click here](https://github.com/jenkins-zh/docker-zh/packages/134536/versions)。 +Find all tags by [click here](https://github.com/jenkins-zh/jenkins-formulas/packages/134536/versions)。 ## war [![下载](https://api.bintray.com/packages/jenkins-zh/generic/jenkins/images/download.svg) ](https://bintray.com/jenkins-zh/generic/jenkins/_latestVersion) diff --git a/main.go b/main.go index 3f2c727..38e2f43 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/jenkins-zh/docker-zh/pkg" +import "github.com/jenkins-zh/jenkins-formulas/pkg" func main() { pkg.Execute() diff --git a/pkg/build/root.go b/pkg/build/root.go index b002cfd..df2475e 100644 --- a/pkg/build/root.go +++ b/pkg/build/root.go @@ -4,7 +4,7 @@ import ( "crypto/md5" "encoding/json" "fmt" - "github.com/jenkins-zh/docker-zh/pkg/common" + "github.com/jenkins-zh/jenkins-formulas/pkg/common" "github.com/spf13/cobra" "io" "io/ioutil" diff --git a/pkg/check/root.go b/pkg/check/root.go index faf4f87..fed1bad 100644 --- a/pkg/check/root.go +++ b/pkg/check/root.go @@ -1,7 +1,7 @@ package check import ( - "github.com/jenkins-zh/docker-zh/pkg/common" + "github.com/jenkins-zh/jenkins-formulas/pkg/common" "github.com/spf13/cobra" "io/ioutil" "net/http" diff --git a/pkg/cmd.go b/pkg/cmd.go index 2e6493a..cf3221b 100644 --- a/pkg/cmd.go +++ b/pkg/cmd.go @@ -1,9 +1,9 @@ package pkg import ( - "github.com/jenkins-zh/docker-zh/pkg/build" - "github.com/jenkins-zh/docker-zh/pkg/check" - "github.com/jenkins-zh/docker-zh/pkg/common" + "github.com/jenkins-zh/jenkins-formulas/pkg/build" + "github.com/jenkins-zh/jenkins-formulas/pkg/check" + "github.com/jenkins-zh/jenkins-formulas/pkg/common" "github.com/spf13/cobra" "os" ) diff --git a/pkg/common/custom_war_test.go b/pkg/common/custom_war_test.go index ee60582..dea2f4a 100644 --- a/pkg/common/custom_war_test.go +++ b/pkg/common/custom_war_test.go @@ -2,7 +2,7 @@ package common_test import ( "fmt" - "github.com/jenkins-zh/docker-zh/pkg/common" + "github.com/jenkins-zh/jenkins-formulas/pkg/common" "testing" ) @@ -10,6 +10,6 @@ func TestRenderTemplate(t *testing.T) { data := map[string]string{ "version": "hello", } - result, err := common.RenderTemplate("/Users/rick/Workspace/GitHub/jenkins-zh/docker-zh/formulas/zh.yaml", data) + result, err := common.RenderTemplate("/Users/rick/Workspace/GitHub/jenkins-zh/jenkins-formulas/formulas/zh.yaml", data) fmt.Println(result, err) } diff --git a/pkg/common/option_test.go b/pkg/common/option_test.go index 2844ff9..6c25b3e 100644 --- a/pkg/common/option_test.go +++ b/pkg/common/option_test.go @@ -1,7 +1,7 @@ package common_test import ( - "github.com/jenkins-zh/docker-zh/pkg/common" + "github.com/jenkins-zh/jenkins-formulas/pkg/common" "io/ioutil" "os" "testing"