generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
88 lines (74 loc) · 2.15 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
before:
hooks:
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- "-s -w"
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: "386"
binary: "btptf_v{{ .Version }}"
archives:
- format: binary
name_template: "btptf_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
algorithm: sha256
split: true
changelog:
use: github-native
nfpms:
- id: btptf
# Name of the package - Default: ProjectName.
# File name of the package.
# Default: '{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'.
# Your app's vendor.
vendor: SAP SE
# Your app's homepage.
#
# Default: inferred from global metadata.
homepage: https://github.com/SAP/terraform-exporter-btp
# Your app's description.
#
# Default: inferred from global metadata.
description: |-
The Terraform Exporter for SAP BTP is a tool that helps export resources in a BTP Global Account.
It generates Terraform scripts for the resources and import those resources into a Terraform state file.
# Your app's license.
#
# Default: inferred from global metadata.
license: Apache 2.0
# Formats to be generated.
formats:
- deb
- rpm
# Packages your package recommends installing. (overridable)
recommends:
- terraform
# Path that the binaries should be installed.
#
# Default: '/usr/bin'.
# Section.
section: default
# Priority.
priority: normal
# Makes a meta package - an empty package that contains only supporting
# files and dependencies.
# When set to `true`, the `builds` option is ignored.
meta: false
maintainer: 'See GitHub <https://github.com/SAP/terraform-exporter-btp>'