Goreleaser: Builds artefact are not uploaded on S3 (but archives are)

Created on 7 Oct 2020  路  3Comments  路  Source: goreleaser/goreleaser

Describe the bug

Using the blob section, i want to upload my build (targeting them with an "id". However, it does not work. When i try with uploading my archives, it works.

To Reproduce

Steps to reproduce the behavior:

# I removed useless information to expose my issue
builds:
  - id: builds
    binary: myBin
    goos:
      - linux
      - windows
      - darwin
release:
  disable: true
archives:
  - id: archives
    replacements:
      darwin: Darwin
      linux: Linux
      windows: Windows
      386: i386
      amd64: x86_64
blobs:
  -
    provider: s3
    endpoint: xxxxxxx
    region: xxxxxxx
    bucket: xxxxxxx

    ids:
    - builds # builds are missing on my S3
    - archives # archives are present on my S3

    folder: "binaries/{{ .Date }}"

Make sure your config file is valid by running
goreleaser check -f path-to-config-file.

Complete configuration is valid !!

Expected behavior

For the moment, i just have archives artefact on my S3 bucket. I am expecting to have archives and builds artefacts (go binaries)

Environment (please complete the following information):

  • OS: Docker container (FROM debian)
  • OS version: Linux c3110e9ae4a3 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 GNU/Linux
  • GoReleaser Version: goreleaser version 0.143.0 (installed with curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh)

Thank you !

invalid

Most helpful comment

This is working as intended.

If you want to upload the binaries, you'll need to disable the archiving by setting it the format to binary.

Check docs for more options: https://goreleaser.com/customization/archive/

All 3 comments

This is working as intended.

If you want to upload the binaries, you'll need to disable the archiving by setting it the format to binary.

Check docs for more options: https://goreleaser.com/customization/archive/

Hello,

Thank you for the precision about this part of the documentation. I tested and it works. :)

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwhitcraft picture jwhitcraft  路  4Comments

tj picture tj  路  5Comments

michelvocks picture michelvocks  路  3Comments

tj picture tj  路  5Comments

smaftoul picture smaftoul  路  5Comments