File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 with :
2626 version : ~v2
2727 distribution : goreleaser
28- args : release --clean --skip-validate
28+ args : release --clean
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131 - name : Upload assets
Original file line number Diff line number Diff line change 11# GoReleaser configuration
22version : 2
33
4- # Disable semantic version checking to allow custom tag formats
5- snapshot :
6- name_template : " {{ incpatch .Version }}-next"
7-
8- # Disable semver checking
9- git :
10- ignore_tags :
11- - " {{ not (hasPrefix .Tag \" v\" ) }}"
12- prerelease_suffix : " -"
13-
144# Build configuration
155builds :
166 - id : gURL
@@ -33,7 +23,7 @@ builds:
3323# Archive configuration
3424archives :
3525 - id : gURL
36- name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
26+ name_template : " {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
3727 format_overrides :
3828 - goos : windows
3929 format : zip
@@ -44,37 +34,12 @@ archives:
4434
4535# Release configuration
4636release :
47- # Disable automatic release notes generation
4837 disable : false
49- # Don't validate the tag as semver
50- prerelease : auto
5138
5239# Changelog configuration
5340changelog :
54- sort : asc
55- filters :
56- exclude :
57- - " ^docs:"
58- - " ^test:"
59- - " ^chore:"
60- - " merge conflict"
61- - Merge pull request
62- - Merge remote-tracking branch
63- - Merge branch
41+ disable : true
6442
6543# Checksum configuration
6644checksum :
6745 name_template : " checksums.txt"
68-
69- # Docker configuration (optional)
70- dockers :
71- - image_templates :
72- - " ghcr.io/academic/gurl:{{ .Tag }}"
73- - " ghcr.io/academic/gurl:latest"
74- dockerfile : Dockerfile
75- build_flag_templates :
76- - " --platform=linux/amd64"
77- - " --label=org.opencontainers.image.created={{ .Date }}"
78- - " --label=org.opencontainers.image.title={{ .ProjectName }}"
79- - " --label=org.opencontainers.image.revision={{ .FullCommit }}"
80- - " --label=org.opencontainers.image.version={{ .Version }}"
You can’t perform that action at this time.
0 commit comments