Skip to content

Commit 4f66b18

Browse files
committed
fixed deprecation warnings and names
1 parent c86b84c commit 4f66b18

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'v*' # Trigger only on tags starting with "v" (e.g., v1.0.0)
77

88
jobs:
9-
release:
9+
build-and-release:
1010
runs-on: ubuntu-latest
1111

1212
permissions:
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
go-version: '1.24' # Use the version of Go your project requires
2323

24-
- name: Install GoReleaser
24+
- name: Run goreleaser
2525
uses: goreleaser/goreleaser-action@v6
2626
with:
2727
version: latest # Or pin a specific version

.goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
project_name: cf-support
23
builds:
34
- id: default
@@ -13,11 +14,11 @@ builds:
1314
- "-s -w -X github.com/codefresh-support/codefresh-support-package/cmd.Version={{.Version}}"
1415

1516
archives:
16-
- format: tar.gz
17+
- formats: ["tar.gz"]
1718
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
1819
format_overrides:
1920
- goos: windows
20-
format: zip # Use zip format for Windows builds
21+
formats: ["zip"] # Use zip format for Windows builds
2122

2223
checksum:
2324
name_template: "checksums.txt"

0 commit comments

Comments
 (0)