Skip to content

Commit 8bc482a

Browse files
committed
fix
1 parent 095fd0d commit 8bc482a

1 file changed

Lines changed: 46 additions & 3 deletions

File tree

.goreleaser.yml

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
version: 2
2+
13
before:
24
hooks:
35
- go mod tidy
46

57
builds:
6-
- main: ./cmd/sql2csv
8+
- id: sql2csv
9+
main: ./cmd/sql2csv
10+
binary: sql2csv
711
env:
812
- CGO_ENABLED=1
913
goos:
@@ -18,7 +22,8 @@ builds:
1822
goarch: arm64
1923

2024
archives:
21-
- format: tar.gz
25+
- id: sql2csv
26+
format: tar.gz
2227
name_template: >-
2328
{{ .ProjectName }}_
2429
{{- title .Os }}_
@@ -34,18 +39,32 @@ archives:
3439

3540
checksum:
3641
name_template: 'checksums.txt'
42+
algorithm: sha256
43+
44+
signs:
45+
- artifacts: checksum
3746

3847
snapshot:
3948
name_template: "{{ incpatch .Version }}-next"
4049

4150
changelog:
4251
sort: asc
52+
use: github
4353
filters:
4454
exclude:
4555
- '^docs:'
4656
- '^test:'
4757
- '^ci:'
4858
- '^chore:'
59+
groups:
60+
- title: 'New Features'
61+
regexp: "^.*feat[(\\w)]*:+.*$"
62+
order: 0
63+
- title: 'Bug fixes'
64+
regexp: "^.*fix[(\\w)]*:+.*$"
65+
order: 1
66+
- title: Others
67+
order: 999
4968

5069
brews:
5170
- name: sql2csv
@@ -59,4 +78,28 @@ brews:
5978
install: |
6079
bin.install "sql2csv"
6180
test: |
62-
system "#{bin}/sql2csv --version"
81+
system "#{bin}/sql2csv --version"
82+
83+
# Uncomment if you want to publish to AUR
84+
#aurs:
85+
# - name: sql2csv-bin
86+
# homepage: "https://github.com/gossterrible/sql2csv"
87+
# description: "A powerful command-line tool to export SQL database tables to CSV files"
88+
# maintainers:
89+
# - "Your Name <your.email@example.com>"
90+
# license: "MIT"
91+
# private_key: '{{ .Env.AUR_KEY }}'
92+
# git_url: "ssh://aur@aur.archlinux.org/sql2csv-bin.git"
93+
94+
# Uncomment if you want to publish to Docker Hub
95+
#dockers:
96+
# - image_templates:
97+
# - "gossterrible/sql2csv:{{ .Version }}"
98+
# - "gossterrible/sql2csv:latest"
99+
# dockerfile: Dockerfile
100+
# build_flag_templates:
101+
# - "--pull"
102+
# - "--label=org.opencontainers.image.created={{ .Date }}"
103+
# - "--label=org.opencontainers.image.title={{ .ProjectName }}"
104+
# - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
105+
# - "--label=org.opencontainers.image.version={{ .Version }}"

0 commit comments

Comments
 (0)