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

Bucket path error in s3 blob deploy from windows machine #1510

Closed
taglme opened this issue May 11, 2020 · 3 comments · Fixed by #1521
Closed

Bucket path error in s3 blob deploy from windows machine #1510

taglme opened this issue May 11, 2020 · 3 comments · Fixed by #1521
Labels
bug Something isn't working good-first-issue

Comments

@taglme
Copy link

taglme commented May 11, 2020

When we try to make deploy to aws s3 blob from windows machine there is an error in path delimiter.

Expected behavior

In config file "folder" param is set to "apps/somefolder". But archives uploaded to the root of bucket with name: "apps\somefolder\archive_name" instead of desired folder of bucket.

env:
  - GO111MODULE=on
before:
  hooks:
    - go mod download
builds:
- env:
  - CGO_ENABLED=0
  goos:
    - linux
    - darwin
    - windows
  goarch:
    - amd64
release:
  disable: true
archives:
- id: latest
  name_template: "{{ .ProjectName }}_{{ .Os }}_latest"
  replacements:
    darwin: darwin
    linux: linux
    windows: windows
    386: i386
    amd64: x86_64
  format_overrides:
    - goos: windows
      format: zip
  files:
    - app_icon.png
blobs:
- provider: s3
  region: eu-west-1
  disableSSL: true
  bucket: mybucket
  ids:
    - latest
  folder: "apps/somefolder"
checksum:
  name_template: 'checksums.txt'
snapshot:
  name_template: "{{ .Tag }}-next"
changelog:
  sort: asc
  filters:
    exclude:
    - '^docs:'
    - '^test:'

Environment:

  • OS: windows
  • OS version: windows 10
  • GoReleaser Version 0.133.0
@taglme taglme added the bug Something isn't working label May 11, 2020
@caarlos0
Copy link
Member

we should probably start running our tests on windows machines too... I have no idea if the build will pass though 🤔

@caarlos0
Copy link
Member

caarlos0 commented May 15, 2020

can you try #1521?

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good-first-issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants