Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 19 additions & 34 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ archives:
-
id: ld-find-code-refs
builds:
- ld-find-code-refs
- ld-find-code-refs

nfpms:
-
Expand All @@ -60,32 +60,26 @@ nfpms:
vendor: LaunchDarkly

formats:
- deb
- rpm
- deb
- rpm

brews:
-
ids:
- ld-find-code-refs

- ids:
- ld-find-code-refs
name: ld-find-code-refs

description: Job for finding and sending feature flag code references to LaunchDarkly

homepage: "https://launchdarkly.com"

repository:
owner: launchdarkly
name: homebrew-tap
token: "{{ .Env.GITHUB_TOKEN }}"

folder: Formula

# token: "{{ .Env.GITHUB_TOKEN }}"
git:
url: [email protected]:launchdarkly/homebrew-tap.git
private_key: "{{ .Env.LAUNCHDARKLY_HOMEBREW_TAP_DEPLOY_KEY }}"
directory: Formula
url_template: "https://github.com/launchdarkly/ld-find-code-refs/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

install: |
bin.install "ld-find-code-refs"

commit_author:
name: LaunchDarklyReleaseBot
email: [email protected]
Expand All @@ -97,35 +91,26 @@ release:
dockers:
-
image_templates:
- "launchdarkly/ld-find-code-refs:latest"
- "launchdarkly/ld-find-code-refs:{{ .Version }}"

- "launchdarkly/ld-find-code-refs:latest"
- "launchdarkly/ld-find-code-refs:{{ .Version }}"
dockerfile: Dockerfile

-
goos: linux

# GOARCH of the built binaries/packages that should be used.
goarch: amd64
ids:
- ld-find-code-refs-github-action

- ld-find-code-refs-github-action
image_templates:
- "launchdarkly/ld-find-code-refs-github-action:latest"
- "launchdarkly/ld-find-code-refs-github-action:{{ .Version }}"

- "launchdarkly/ld-find-code-refs-github-action:latest"
- "launchdarkly/ld-find-code-refs-github-action:{{ .Version }}"
dockerfile: Dockerfile.github
-
goos: linux

# GOARCH of the built binaries/packages that should be used.
goarch: amd64

image_templates:
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:latest"
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:{{ .Version }}"

ids:
- ld-find-code-refs-bitbucket-pipeline

- ld-find-code-refs-bitbucket-pipeline
image_templates:
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:latest"
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:{{ .Version }}"
dockerfile: Dockerfile.bitbucket
Loading