Skip to content

Commit

Permalink
Fix the wrong package name
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Nov 6, 2020
1 parent 2d02b0c commit 4d34938
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
2 changes: 1 addition & 1 deletion pkg/build/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pkg/check/root.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions pkg/cmd.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/common/custom_war_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package common_test

import (
"fmt"
"github.com/jenkins-zh/docker-zh/pkg/common"
"github.com/jenkins-zh/jenkins-formulas/pkg/common"
"testing"
)

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)
}
2 changes: 1 addition & 1 deletion pkg/common/option_test.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 4d34938

Please sign in to comment.