From b7b01d9db61a7d99b9d1e5aa62580274790188da Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Wed, 4 Oct 2023 16:20:29 +0200 Subject: [PATCH] ci: fix goreleaser/nFMP build for goreleaser 1.21 --- .github/workflows/go.yml | 2 +- .goreleaser.yml | 8 ++++---- README.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ac3cac7..dc9cf70 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -60,7 +60,7 @@ jobs: uses: goreleaser/goreleaser-action@v4 with: distribution: goreleaser - version: latest + version: v1.21.2 args: check - name: Make a release (tag only) diff --git a/.goreleaser.yml b/.goreleaser.yml index d0e6e02..09947e9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -70,13 +70,13 @@ nfpms: bindir: /usr/bin contents: - src: "resources/icons/hicolor/**/*" - dst: "/usr/share/icons/hicolor/" + dst: "/usr/share/icons/hicolor" - src: "resources/*.desktop" - dst: "/usr/share/applications/" + dst: "/usr/share/applications" - src: "resources/metainfo/*.metainfo.xml" - dst: "/usr/share/metainfo/" + dst: "/usr/share/metainfo" - src: "resources/i18n/generated/**/*" - dst: "/usr/share/locale/" + dst: "/usr/share/locale" scripts: postinstall: "resources/scripts/postinst" postremove: "resources/scripts/postrm" diff --git a/README.md b/README.md index d8303ce..ce4a98e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ This will create the application executable `ymuse` in the project root director Requires `goreleaser` installed. ```bash -goreleaser release --rm-dist --skip-publish [--snapshot] +goreleaser release --clean --skip=publish [--snapshot] ``` ### Flatpak