feat: about the distribution of the strategy

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/561/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent 3203604045
commit 2bc52a04da
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -98,7 +98,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go_version: ["1.20"] go_version: ["1.20"]
os: ["ubuntu-latest","centos-latest"] os: ["ubuntu-latest"]
steps: steps:
- name: Set up Go ${{ matrix.go_version }} - name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@v2 uses: actions/setup-go@v2

@ -8,8 +8,8 @@ on:
permissions: permissions:
contents: write contents: write
# packages: write packages: write
# issues: write issues: write
jobs: jobs:
goreleaser: goreleaser:

@ -1,4 +1,3 @@
project_name: openim
#gomod: #gomod:
# # Proxy a module from proxy.golang.org, making the builds verifiable. # # Proxy a module from proxy.golang.org, making the builds verifiable.
# # This will only be effective if running against a tag. Snapshots will ignore this setting. # # This will only be effective if running against a tag. Snapshots will ignore this setting.
@ -21,6 +20,7 @@ before:
- go mod tidy - go mod tidy
# you may remove this if you don't need go generate # you may remove this if you don't need go generate
- go generate ./... - go generate ./...
builds: builds:
- env: - env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -58,3 +58,19 @@ changelog:
# Feel free to remove those if you don't want/use them. # Feel free to remove those if you don't want/use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj # vim: set ts=2 sw=2 tw=0 fo=cnqoj
# Default: './dist'
dist: _output/dist
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: "-"
Loading…
Cancel
Save