From 38f77882559133b9ff330cfb955a9d4ea4728cf8 Mon Sep 17 00:00:00 2001 From: Oleg Lobanov Date: Fri, 15 Sep 2023 00:59:16 +0200 Subject: [PATCH] build: fix deprecated goreleaser config options --- .github/workflows/main.yaml | 2 +- .goreleaser.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ab601df6..c504686a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -95,6 +95,6 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 4642d939..52a7abe6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,7 +3,7 @@ project_name: filebrowser env: - GO111MODULE=on -build: +builds: env: - CGO_ENABLED=0 ldflags: @@ -186,7 +186,7 @@ docker_manifests: - "filebrowser/filebrowser:v{{ .Major }}-arm64-s6" brews: - name: filebrowser - tap: + repository: owner: filebrowser name: homebrew-tap folder: Formula