From b48e4b1f9e131b3222234f33a9fa6118a90207e5 Mon Sep 17 00:00:00 2001 From: K-Sato1995 Date: Thu, 25 Jan 2024 20:11:56 +0900 Subject: [PATCH] update releaser --- .github/workflows/release.yml | 11 +++++------ .goreleaser.yaml | 31 +------------------------------ 2 files changed, 6 insertions(+), 36 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52ff77f..57b6c7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,8 @@ jobs: with: go-version-file: go.mod cache: true - - uses: goreleaser/goreleaser-action@v4 - with: - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - \ No newline at end of file + # - uses: goreleaser/goreleaser-action@v4 + # with: + # args: release --rm-dist + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8af1516..9039878 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,31 +1,2 @@ -version: 1 - -before: - hooks: - - go mod tidy builds: - - env: - - CGO_ENABLED=0 - goos: - - linux - - windows - - darwin - main: ./simple-ssg-cli -archives: - - format: tar.gz - name_template: >- - {{ .ProjectName }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} - format_overrides: - - goos: windows - format: zip -changelog: - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" + - skip: true \ No newline at end of file