Skip to content

Failed on release creation #198

@f100024

Description

@f100024

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/promu@v0.7.0/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/promu@v0.7.0/cmd/release.go:122
github.com/prometheus/promu/cmd.Execute
/home/runner/go/pkg/mod/github.com/prometheus/promu@v0.7.0/cmd/promu.go:139
main.main
/home/runner/go/pkg/mod/github.com/prometheus/promu@v0.7.0/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/promu@v0.7.0/cmd/release.go:141
github.com/prometheus/promu/cmd.Execute
/home/runner/go/pkg/mod/github.com/prometheus/promu@v0.7.0/cmd/promu.go:139
main.main
/home/runner/go/pkg/mod/github.com/prometheus/promu@v0.7.0/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions