Skip to content

Commit

Permalink
fix: release openim version not auto build (#1660)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Jan 2, 2024
1 parent c19bafc commit 11108e1
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion build/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,36 @@

before:
hooks:
- make clean
# You may remove this if you don't use go modules.
- make tidy
- make copyright.add
# you may remove this if you don't need go generate
- go generate ./...

git:
# What should be used to sort tags when gathering the current and previous
# tags if there are more than one tag in the same commit.
#
# Default: '-version:refname'
tag_sort: -version:creatordate

# What should be used to specify prerelease suffix while sorting tags when gathering
# the current and previous tags if there are more than one tag in the same commit.
#
# Since: v1.17
prerelease_suffix: "-"

# Tags to be ignored by GoReleaser.
# This means that GoReleaser will not pick up tags that match any of the
# provided values as either previous or current tags.
#
# Templates: allowed.
# Since: v1.21.
ignore_tags:
- nightly
# - "{{.Env.IGNORE_TAG}}"

snapshot:
name_template: "{{ incpatch .Version }}-next"

Expand Down Expand Up @@ -495,4 +519,4 @@ checksum:
algorithm: sha256

release:
prerelease: auto
prerelease: auto

0 comments on commit 11108e1

Please sign in to comment.