Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
EngHabu committed Feb 3, 2021
1 parent e7201cf commit 8c66bdd
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
vendor/
*.swp
artifacts/
dist/
67 changes: 63 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,68 @@
project_name: flyteplugins
project_name: copilot
before:
hooks:
- go mod download
builds:
- id: copilot
env:
- CGO_ENABLED=0
main: ./copilot/main.go
binary: copilot
goos:
- linux
- windows
- darwin
ldflags:
- -s -w -X github.com/lyft/flytestdlib/version.Version={{.Version}} -X github.com/lyft/flytestdlib/version.Build={{.ShortCommit}} -X github.com/lyft/flytestdlib/version.BuildTime={{.Date}}
archives:
- id: copilot-archive
name_template: |-
kubectl-flyte_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
- kubectl-flyte
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip

checksum:
name_template: "checksums.txt"
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- '^docs:'
- '^test:'
# scoop:
# # Default is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# # url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"

# # Repository to push the app manifest to.
# bucket:
# owner: lyft
# name: flytepropeller

# # Git author used to commit to the repository.
# # Defaults are shown.
# commit_author:
# name: goreleaserbot
# email: [email protected]

# # Your app's homepage.
# # Default is empty.
# homepage: "https://godoc.org/github.com/lyft/flytepropeller"

# # Your app's description.
# # Default is empty.
# description: "kubectl-flyte is an command line tool that can be used as an extension to kubectl"

# # Your app's license
# # Default is empty.
# license: Apache-2.0

0 comments on commit 8c66bdd

Please sign in to comment.