helm / helm/chart-releaser

go install: cannot load embed: malformed module path

Open
#201 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Go
Stars
783
Forks
126
Avg merge
1d 18h
Merged PRs (30d)
11

Description

The Readme is missing a clear example what subcommands should be issued in which order.

I went to a folder containing a single helm release and did `cr package` which created `.cr-release-package` fine.

When I do `cr upload` later I get:
```
Error: error creating GitHub release burp-suite-enterprise-edition-2022.7.0: failed to upload release asset: /home/michas/flux/eks-charts/charts/burp-suite-enterprise-edition/.cr-release-packages/burp-suite-enterprise-edition-2022.7.0.tgz
: POST https://github.vodafone.com/api/uploads/repos/VFDE-Solstice-Systemintegration/eks-charts/releases/41955/assets?name=burp-suite-enterprise-edition-2022.7.0.tgz: 422 []
```
The server seems to answer 422 without any reason. 😐

Uploading artifacts manually using `curl` works fine.

Unfortunately I don't have access to the server logs. Also I am not aware of any debug output available in `cr`.

Therefore I tried to build from source to add some debug output myself.

I followed the instruction in the Readme and cloned the source. However the install step fails:

```
$ go install ./...
build github.com/helm/chart-releaser/cr: cannot load embed: malformed module path "embed": missing dot in first path element
```

I'm not using go a lot, so maybe there is an easy solution, but I was expecting the instructions in the Readme to work out of the box.

Are you able to helm me with the install, or even with the 422/debug?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.