Skip to content

Commit

Permalink
Merge pull request #37 from laverya/improve-kots-so-release
Browse files Browse the repository at this point in the history
seperate kots and kots.so release tarballs
  • Loading branch information
laverya authored Sep 5, 2019
2 parents 2dd7664 + 448d4d0 commit 0009b53
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
4 changes: 4 additions & 0 deletions deploy/.goreleaser.snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ builds:
- CGO_ENABLED=1
- GO111MODULE=on
main: ffi/main.go
ldflags: -s -w
-X github.com/replicatedhq/kots/pkg/version.version={{.Version}}
-X github.com/replicatedhq/kots/pkg/version.gitSHA={{.Commit}}
-X github.com/replicatedhq/kots/pkg/version.buildTime={{.Date}}
flags: -buildmode=c-shared
binary: kots.so
hooks: {}
Expand Down
19 changes: 18 additions & 1 deletion deploy/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ builds:
- CGO_ENABLED=1
- GO111MODULE=on
main: ffi/main.go
ldflags: -s -w
-X github.com/replicatedhq/kots/pkg/version.version={{.Version}}
-X github.com/replicatedhq/kots/pkg/version.gitSHA={{.Commit}}
-X github.com/replicatedhq/kots/pkg/version.buildTime={{.Date}}
flags: -buildmode=c-shared
binary: kots.so
hooks: {}
Expand All @@ -41,7 +45,6 @@ archives:
- id: kots
builds:
- kots
- so
format: tar.gz
format_overrides:
- goos: windows
Expand All @@ -56,3 +59,17 @@ archives:
- README*
- changelog*
- CHANGELOG*
- id: kots.so
builds:
- so
format: tar.gz
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}_so'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*

0 comments on commit 0009b53

Please sign in to comment.