diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d667e88..0fab87a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,10 +20,11 @@ jobs: goos: [linux, darwin] goarch: [amd64, arm64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} goversion: 1.21.4 + ldflags: -X "github.com/kuadrant/kuadrantctl/version.GitHash=${{ github.sha }}"