Open
Description
Hi,
First time user, fresh install and fresh token. I cannot seem to upload in GH private repo.
Version 1.7.0, installed via brew.
While in gh-pages
branch:
$ cr package charts/clickhouse
Successfully packaged chart in /Users/xxxx/gitrepos/myorg/lf-helm-charts/charts/clickhouse and saved it to: .cr-release-packages/clickhouse-3.13.0.tgz
$ cr upload --owner myorg --git-repo helm-charts --packages-with-index --token $(cat ~/.seeds/gh-lf-pat-finegrained.token) --push --skip-existing
Preparing worktree (detached HEAD 324658b)
HEAD is now at 324658b initial
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
github.com/helm/chart-releaser/pkg/git.(*Git).GetPushURL(0x140005f99c8?, {0x1016455a7?, 0x8?}, {0x16fb16e66, 0x5d})
/home/runner/work/chart-releaser/chart-releaser/pkg/git/git.go:87 +0x174
github.com/helm/chart-releaser/pkg/releaser.(*Releaser).pushToPagesBranch(0x140005f9c40, {0x14000654000, 0x49})
/home/runner/work/chart-releaser/chart-releaser/pkg/releaser/releaser.go:371 +0x5c
github.com/helm/chart-releaser/pkg/releaser.(*Releaser).CreateReleases(0x140005f9c40)
/home/runner/work/chart-releaser/chart-releaser/pkg/releaser/releaser.go:358 +0x818
github.com/helm/chart-releaser/cr/cmd.init.func3(0x14000668a00?, {0x101643e7a?, 0x4?, 0x101643e7e?})
/home/runner/work/chart-releaser/chart-releaser/cr/cmd/upload.go:37 +0x11c
github.com/spf13/cobra.(*Command).execute(0x102c55640, {0x140006bd7a0, 0x9, 0x9})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x102c55080)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/helm/chart-releaser/cr/cmd.Execute()
/home/runner/work/chart-releaser/chart-releaser/cr/cmd/root.go:35 +0x24
main.main()
/home/runner/work/chart-releaser/chart-releaser/cr/main.go:20 +0x1c
Metadata
Assignees
Labels
No labels