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