forked from pulumi/pulumi-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.prerelease.yml
44 lines (43 loc) · 1023 Bytes
/
.goreleaser.prerelease.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
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt
archives:
- id: archive
name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
before:
hooks:
- make tfgen
blobs:
- bucket: get.pulumi.com
folder: releases/plugins/
ids:
- archive
provider: s3
region: us-west-2
builds:
- binary: pulumi-resource-azure
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goarch:
- amd64
- arm64
goos:
- darwin
- windows
- linux
hooks:
post:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -cache
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache
ignore: []
ldflags:
- -X github.com/pulumi/pulumi-azure/provider/v5/pkg/version.Version={{.Tag}}
- -X github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion={{.Tag}}
main: ./cmd/pulumi-resource-azure/
changelog:
skip: true
release:
disable: true
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"
project_name: "pulumi-azure"