File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -61,4 +61,5 @@ RUN echo "alias tf=terraform" >> "/root/.bashrc"
61
61
# Switch back to dialog for any ad-hoc use of apt-get
62
62
ENV DEBIAN_FRONTEND=dialog
63
63
64
- RUN curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- "v0.132.1"
64
+ # Install goreleaser
65
+ RUN (cd /usr/local && curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- "v0.132.1" )
Original file line number Diff line number Diff line change 1
1
# This is an example goreleaser.yaml file with some sane defaults.
2
2
builds :
3
- - env :
3
+ - binary : " {{ .ProjectName }}_{{ .Tag }}"
4
+ env :
4
5
- CGO_ENABLED=0
5
6
goos :
6
7
- linux
7
8
- windows
8
9
- darwin
9
10
archives :
10
- - format_overrides :
11
+ - name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
12
+ format_overrides :
11
13
- goos : windows
12
14
format : zip
13
15
checksum :
@@ -23,4 +25,4 @@ changelog:
23
25
release :
24
26
github :
25
27
owner : microsoft
26
- name : terraform-provider-azuredevops
28
+ name : terraform-provider-azuredevops
Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ Making the release:
473
473
` ` `
474
474
1. Create
475
475
` ` ` bash
476
- git tag $RELEASE_VERSION && ./bin/ goreleaser release --rm-dist
476
+ git tag $RELEASE_VERSION && goreleaser release --rm-dist
477
477
478
478
` ` `
479
479
You can’t perform that action at this time.
0 commit comments