Skip to content

Commit 11108e1

Browse files
authored
fix: release openim version not auto build (openimsdk#1660)
1 parent c19bafc commit 11108e1

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

build/goreleaser.yaml

+25-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,36 @@
33

44
before:
55
hooks:
6+
- make clean
67
# You may remove this if you don't use go modules.
78
- make tidy
89
- make copyright.add
910
# you may remove this if you don't need go generate
1011
- go generate ./...
1112

13+
git:
14+
# What should be used to sort tags when gathering the current and previous
15+
# tags if there are more than one tag in the same commit.
16+
#
17+
# Default: '-version:refname'
18+
tag_sort: -version:creatordate
19+
20+
# What should be used to specify prerelease suffix while sorting tags when gathering
21+
# the current and previous tags if there are more than one tag in the same commit.
22+
#
23+
# Since: v1.17
24+
prerelease_suffix: "-"
25+
26+
# Tags to be ignored by GoReleaser.
27+
# This means that GoReleaser will not pick up tags that match any of the
28+
# provided values as either previous or current tags.
29+
#
30+
# Templates: allowed.
31+
# Since: v1.21.
32+
ignore_tags:
33+
- nightly
34+
# - "{{.Env.IGNORE_TAG}}"
35+
1236
snapshot:
1337
name_template: "{{ incpatch .Version }}-next"
1438

@@ -495,4 +519,4 @@ checksum:
495519
algorithm: sha256
496520

497521
release:
498-
prerelease: auto
522+
prerelease: auto

0 commit comments

Comments
 (0)