Skip to content

Commit 931c97a

Browse files
committed
fix
1 parent eddaf80 commit 931c97a

2 files changed

Lines changed: 38 additions & 4 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
before:
24
hooks:
35
- go mod download
@@ -51,7 +53,10 @@ builds:
5153
main: .
5254

5355
archives:
54-
- id: cocoon
56+
- id: release
57+
builds:
58+
- cocoon-linux
59+
- cocoon-darwin
5560
name_template: >-
5661
{{- .ProjectName }}_{{- .Version }}_
5762
{{- title .Os }}_
@@ -60,15 +65,23 @@ archives:
6065
{{- else }}{{ .Arch }}{{ end }}
6166
{{- if .Arm }}v{{ .Arm }}{{ end -}}
6267
68+
- id: debug
69+
builds:
70+
- cocoon-debug
71+
name_template: >-
72+
{{- .ProjectName }}_{{- .Version }}_
73+
{{- title .Os }}_
74+
{{- if eq .Arch "amd64" }}x86_64
75+
{{- else if eq .Arch "386" }}i386
76+
{{- else }}{{ .Arch }}{{ end }}_debug
77+
{{- if .Arm }}v{{ .Arm }}{{ end -}}
78+
6379
checksum:
6480
name_template: 'checksums.txt'
6581

6682
release:
6783
prerelease: auto
6884

69-
snapshot:
70-
name_template: "{{ .Tag }}-next"
71-
7285
changelog:
7386
sort: asc
7487
filters:

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 �cocoon authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)