goreleaser: enterprise broken?

Prerequisites

  • Are you running the latest version? (39)
  • Did you perform a search to see if this problem was already reported?

Description

enterprise support seems broken.

Environment

  • homebrew, freshly tapped
  • Darwin f45c89bd73ab 17.2.0 Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64

Steps to Reproduce

• loaded config file config={c1cacert { false false map[]} { { } [] [] map[]} [{[linux darwin windows] [amd64] [] [] . c1cacert { map[]} [] map[]}] { [] false map[] [] map[]} {[] [] [] map[] map[]} { map[] map[]} { map[]} { map[]} [] [] {{[] map[]} map[]} { [] } {[] [] [] [] { map[]} [] map[]} {https://github.redacted/api/v3/ https://github.redacted/api/uploads/ https://github.redacted/} map[]}

Expected behavior: [What you expected to happen]

stuff to release

Actual behavior: [What actually happened]

404s, weird interpolation.

with ssh origin:

   • RELEASING TO GITHUB
      • creating or updating release repo=git@github.redacted:automaticgiant/c1cacert tag=v0.0.1
      • release updated           url=
      ⨯ release failed after 15.42s error=POST https://github.redacted/api/v3/repos/git@github.redacted:automaticgiant/c1cacert/releases: 404 Not Found []

after changing origin to http:

   • RELEASING TO GITHUB
      • creating or updating release repo=https:/ tag=v0.0.1
      • release updated           url=
      ⨯ release failed after 12.91s error=POST https://github.redacted/api/v3/repos/https://releases: 404 Not Found []

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (11 by maintainers)

Most upvoted comments

docs improved, thanks!

Btw what is the download url used for ?

for homebrew formulas, for instance, you can it empty if you don’t use brew…

Thanks @caarlos0 . Finally got it working ! The URLs that worked for me were

    api: https://git.company.com/api/v3/
    upload: https://git.company.com/api/uploads/
    download: https://git.company.com/

Tried without v3 in api and with v3 in upload - didn’t work. Guess that is how it is configured here. Would be nice if github had an easy way of discovering these urls.

Btw what is the download url used for ? Would be nice to have a replace/update option for release to update/overwrite existing releases - instead of having to manually delete them in github ui.