This commit is contained in:
naiba 2023-05-10 23:36:51 +08:00
parent 1c13e415fa
commit 0c46ce57ab
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ jobs:
container:
image: goreleaser/goreleaser-cross:v1.20
steps:
- run: |
git config --global --add safe.directory /__w/agent/agent
- uses: actions/checkout@master
with:
fetch-depth: 0

View File

@ -307,7 +307,7 @@ func doSelfUpdate(useLocalVersion bool) {
v = semver.MustParse(version)
}
println("检查更新:", v)
latest, err := selfupdate.UpdateSelf(v, "naiba/nezha")
latest, err := selfupdate.UpdateSelf(v, "nezhahq/agent")
if err != nil {
println("更新失败:", err)
return