Skip to content

Commit c2f3a68

Browse files
committed
provide compatibility package for older gcov2lcov-actions (pre 1.1.0)
1 parent d152e97 commit c2f3a68

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

.goreleaser.yml

+36-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
version: 2
2+
23
before:
34
hooks:
45
- go mod tidy
6+
57
builds:
6-
- env:
8+
- id: other
9+
env:
710
- CGO_ENABLED=0
811
dir: .
912
goos:
@@ -17,23 +20,51 @@ builds:
1720
- arm
1821
- arm64
1922
goarm:
20-
- 6
21-
- 7
23+
- "6"
24+
- "7"
2225
ignore:
2326
- goos: darwin
2427
goarch: arm
2528
- goos: openbsd
2629
goarch: arm64
2730
- goos: windows
2831
goarch: arm
32+
33+
# linux/amd64 binary is named according to the pre 1.1.0 version to ensure
34+
# upwards compatibility of the gcov2lcov-action. see also below in the archives
35+
# section
36+
- id: linux_amd64
37+
env:
38+
- CGO_ENABLED=0
39+
dir: .
40+
binary: bin/gcov2lcov-linux-amd64
41+
goos:
42+
- linux
43+
goarch:
44+
- amd64
45+
46+
# linux/amd64 binary is named according to the pre 1.1.0 version to ensure
47+
# upwards compatibility of the gcov2lcov-action
2948
archives:
30-
- files:
49+
- id: linux_amd64
50+
builds:
51+
- linux_amd64
52+
name_template: gcov2lcov-linux-amd64
53+
files:
54+
- README.md
55+
- LICENSE
56+
- CHANGELOG.md
57+
- id: other
58+
builds:
59+
- other
60+
files:
3161
- README.md
3262
- LICENSE
3363
- CHANGELOG.md
34-
format_overrides:
64+
format_overrides:
3565
- goos: windows
3666
format: zip
67+
3768
checksum:
3869
name_template: 'checksums.txt'
3970
snapshot:

0 commit comments

Comments
 (0)