diff --git a/.github/workflows/openim-ci.yml b/.github/workflows/openimci.yml similarity index 97% rename from .github/workflows/openim-ci.yml rename to .github/workflows/openimci.yml index b53770d6a..fc6df7e2c 100644 --- a/.github/workflows/openim-ci.yml +++ b/.github/workflows/openimci.yml @@ -98,7 +98,7 @@ jobs: strategy: matrix: go_version: ["1.20"] - os: ["ubuntu-latest","centos-latest"] + os: ["ubuntu-latest"] steps: - name: Set up Go ${{ matrix.go_version }} uses: actions/setup-go@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 280804c94..78b0eb287 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,8 @@ on: permissions: contents: write - # packages: write - # issues: write + packages: write + issues: write jobs: goreleaser: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 874996af6..4f4e43587 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,3 @@ -project_name: openim #gomod: # # 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. @@ -21,6 +20,7 @@ before: - go mod tidy # you may remove this if you don't need go generate - go generate ./... + builds: - env: - CGO_ENABLED=0 @@ -58,3 +58,19 @@ changelog: # Feel free to remove those if you don't want/use them. # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # 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: "-" \ No newline at end of file