Skip to content

Commit 5cdaee5

Browse files
authored
Merge branch 'main' into alert-autofix-2
2 parents 598633b + d9d9241 commit 5cdaee5

File tree

4 files changed

+297
-70
lines changed

4 files changed

+297
-70
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
push:
77
branches: [main]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
lint:
1114
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- "v*"
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
runs-on: ubuntu-latest

.goreleaser.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
builds:
24
- skip: true
35

@@ -7,16 +9,15 @@ release:
79
name: cloudconnexa-go-client
810

911
archives:
10-
- format: tar.gz
11-
name_template: >-
12+
- name_template: >-
1213
{{ .ProjectName }}_
1314
{{- title .Os }}_
1415
{{- if eq .Arch "amd64" }}x86_64
1516
{{- else if eq .Arch "386" }}i386
1617
{{- else }}{{ .Arch }}{{ end }}
17-
format_overrides:
18-
- goos: windows
19-
format: zip
18+
{{- if eq .Os "windows" }}.zip{{ else }}.tar.gz{{ end }}
19+
files:
20+
- none*
2021
2122
checksum:
2223
name_template: "checksums.txt"

0 commit comments

Comments
 (0)