diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 2ecf2b9..6b7091b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -2,10 +2,10 @@ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: ["config:best-practices"], customDatasources: { - "goreleaser": { - "defaultRegistryUrlTemplate": "https://goreleaser.com/static/releases.json", - "transformTemplates": [ - "{\"releases\":$.{\"version\":$.tag_name,\"changelogUrl\":$join([\"https://github.com/goreleaser/goreleaser/releases/tag/\",$.tag_name]),\"sourceUrl\":\"https://github.com/goreleaser/goreleaser\",\"homepage\":\"https://goreleaser.com/\"},\"sourceUrl\":\"https://github.com/goreleaser/goreleaser\",\"homepage\":\"https://goreleaser.com/\"}" + goreleaser: { + defaultRegistryUrlTemplate: "https://goreleaser.com/static/releases.json", + transformTemplates: [ + '{"releases":$.{"version":$.tag_name,"changelogUrl":$join(["https://github.com/goreleaser/goreleaser/releases/tag/",$.tag_name]),"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"},"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"}', ], }, }, diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 29b6dba..2cc7f55 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,7 +19,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 with: - version: v1.25.1 # renovate: datasource=custom.goreleaser depName=goreleaser/goreleaser packageName=goreleaser + version: v1.25.1 # renovate: datasource=custom.goreleaser depName=goreleaser/goreleaser packageName=goreleaser args: build --single-target --snapshot --clean --output ./version env: GORELEASER_CURRENT_TAG: ${{ steps.draft_release.outputs.tag_name }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7fc3c30..a19a9a0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -74,7 +74,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 with: - version: v1.25.1 # renovate: datasource=custom.goreleaser depName=goreleaser/goreleaser packageName=goreleaser + version: v1.25.1 # renovate: datasource=custom.goreleaser depName=goreleaser/goreleaser packageName=goreleaser args: release --skip=publish --clean env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}