diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index ffaaa15..5eca0d3 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -18,9 +18,9 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: "1.22.x" + go-version: "1.25.x" - name: Release Binaries - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser version: latest diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4b65867..2fd9e27 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,3 @@ -# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json - version: 2 builds: - main: ./car @@ -12,14 +10,21 @@ builds: goarch: - 'amd64' - 'arm64' + mod_timestamp: '{{.CommitTimestamp}}' + env: + - CGO_ENABLED=0 universal_binaries: - replace: true archives: - - format_overrides: - - goos: windows - format: zip - - goos: darwin - format: zip + - formats: + - tar.gz + format_overrides: + - goos: windows + formats: + - zip + - goos: darwin + formats: + - zip release: mode: keep-existing changelog: