Skip to content

Commit

Permalink
Merge pull request #62 from gocardless/CI-1325/wrap_archive_in_extra_dir
Browse files Browse the repository at this point in the history
CI-1325: Wrap the release archive in an extra level directory
  • Loading branch information
VSpike authored Mar 28, 2022
2 parents 4623f7e + b72762c commit 8de0d84
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
exit 0
fi
curl -L -o /tmp/goreleaser_Linux_x86_64.tar.gz https://github.com/goreleaser/goreleaser/releases/download/v0.106.0/goreleaser_Linux_x86_64.tar.gz
curl -L -o /tmp/goreleaser_Linux_x86_64.tar.gz https://github.com/goreleaser/goreleaser/releases/download/v1.7.0/goreleaser_Linux_x86_64.tar.gz
tar zxf /tmp/goreleaser_Linux_x86_64.tar.gz -C /tmp
git tag "${CURRENT_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.17.0-gc-rc3
0.17.0-gc-rc4
7 changes: 7 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ release:
owner: gocardless
name: stolon

archives:
- wrap_in_directory: true

builds:
- binary: bin/stolonctl
id: stolonctl
main: cmd/stolonctl/main.go
goos: &goos
- linux
Expand All @@ -25,18 +29,21 @@ builds:
env: &env
- CGO_ENABLED=0
- binary: bin/stolon-keeper
id: stolon-keeper
main: cmd/keeper/main.go
goos: *goos
goarch: *goarch
ldflags: *ldflags
env: *env
- binary: bin/stolon-proxy
id: stolon-proxy
main: cmd/proxy/main.go
goos: *goos
goarch: *goarch
ldflags: *ldflags
env: *env
- binary: bin/stolon-sentinel
id: stolon-sentinel
main: cmd/sentinel/main.go
goos: *goos
goarch: *goarch
Expand Down

0 comments on commit 8de0d84

Please sign in to comment.