-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3339095
commit 9351097
Showing
8 changed files
with
48 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
# vim: set ts=2 sw=2 tw=0 fo=jcroql | ||
version: 2 | ||
|
||
project_name: snyk-iac-rules | ||
|
||
before: | ||
|
@@ -27,13 +31,16 @@ archives: | |
- id: default | ||
files: | ||
- none* | ||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
name_template: >- | ||
{{- .ProjectName }}_ | ||
{{- .Version }}_ | ||
{{- if eq .Os "darwin" }}Darwin | ||
{{- else if eq .Os "linux" }}Linux | ||
{{- else if eq .Os "windows" }}Windows | ||
{{- else }}{{ .Os }}{{ end }} | ||
{{- if eq .Arch "386" }}i386 | ||
{{- else if eq .Arch "amd64" }}x86_64 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
format: tar.gz | ||
format_overrides: | ||
- goos: windows | ||
|
@@ -83,37 +90,38 @@ brews: | |
# Default is false. | ||
skip_upload: false | ||
# GitHub repository to push the formula to | ||
tap: | ||
repository: | ||
owner: snyk | ||
name: homebrew-tap | ||
token: "{{ .Env.SNYK_ACCESS_TOKEN }}" | ||
|
||
folder: Formula | ||
directory: Formula | ||
commit_author: | ||
name: snyk | ||
email: [email protected] | ||
homepage: "https://snyk.io/" | ||
license: Apache-2.0 | ||
description: "Write, debug, test, and bundle custom rules for Snyk Infrastructure as Code." | ||
|
||
scoop: | ||
# If set to auto, the release will not be uploaded to the scoop bucket | ||
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 | ||
# Default is false. | ||
skip_upload: false | ||
|
||
# Repository to push the app manifest to. | ||
bucket: | ||
owner: snyk | ||
name: scoop-snyk | ||
token: "{{ .Env.SNYK_ACCESS_TOKEN }}" | ||
|
||
commit_author: | ||
name: snyk | ||
email: [email protected] | ||
homepage: "https://snyk.io/" | ||
license: Apache-2.0 | ||
description: "Write, debug, test, and bundle custom rules for Snyk Infrastructure as Code." | ||
scoops: | ||
- | ||
# If set to auto, the release will not be uploaded to the scoop bucket | ||
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 | ||
# Default is false. | ||
skip_upload: false | ||
|
||
# Repository to push the app manifest to. | ||
repository: | ||
owner: snyk | ||
name: scoop-snyk | ||
token: "{{ .Env.SNYK_ACCESS_TOKEN }}" | ||
|
||
commit_author: | ||
name: snyk | ||
email: [email protected] | ||
homepage: "https://snyk.io/" | ||
license: Apache-2.0 | ||
description: "Write, debug, test, and bundle custom rules for Snyk Infrastructure as Code." | ||
|
||
# Publishes the deb and rpm files to the GitHub releases page. | ||
nfpms: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters