Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed on release creation #198

Open
f100024 opened this issue Dec 30, 2020 · 2 comments
Open

Failed on release creation #198

f100024 opened this issue Dec 30, 2020 · 2 comments

Comments

@f100024
Copy link

f100024 commented Dec 30, 2020

Hi guys, seems I've found issue with release, it fails on creation with next trace:

create release
Using config file: .promu.yml
Running command: release [--verbose --timeout=10s --retry=5 /home/runner/work/syncthing_exporter/syncthing_exporter/.tarballs]
!! GET https://api.github.com/repos/f100024/syncthing_exporter/releases/35836486/assets: 404 Not Found []
failed to list release assets
github.com/prometheus/promu/cmd.releaseFile.func1
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/cmd/release.go:160
path/filepath.walk
/opt/hostedtoolcache/go/1.14.13/x64/src/path/filepath/path.go:360
path/filepath.walk
/opt/hostedtoolcache/go/1.14.13/x64/src/path/filepath/path.go:384
path/filepath.Walk
/opt/hostedtoolcache/go/1.14.13/x64/src/path/filepath/path.go:406
github.com/prometheus/promu/cmd.runRelease
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/cmd/release.go:122
github.com/prometheus/promu/cmd.Execute
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/cmd/promu.go:139
main.main
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/main.go:20
runtime.main
/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:203
runtime.goexit
/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/asm_amd64.s:1373
failed to upload all files
github.com/prometheus/promu/cmd.runRelease
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/cmd/release.go:141
github.com/prometheus/promu/cmd.Execute
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/cmd/promu.go:139
main.main
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/main.go:20
runtime.main
/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/proc.go:203
runtime.goexit
/opt/hostedtoolcache/go/1.14.13/x64/src/runtime/asm_amd64.s:1373
make: *** [release] Error 1
Makefile:34: recipe for target 'release' failed
Error: Process completed with exit code 2.

But when I restart it, files will be successfully uploaded to release which have been already created.

@simonpasquier
Copy link
Member

did you pass a valid GitHub token?

@f100024
Copy link
Author

f100024 commented Jan 29, 2021

seems yes, because after restart it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants