1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-27 12:32:37 +02:00

Fix goreleaser

This commit is contained in:
Jesse Duffield 2023-07-21 09:03:47 +10:00
parent 6e247c1583
commit 39c900c7e7
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,10 @@ jobs:
go-version: 1.18.x go-version: 1.18.x
- name: Run goreleaser - name: Run goreleaser
uses: goreleaser/goreleaser-action@v1 uses: goreleaser/goreleaser-action@v1
with:
distribution: goreleaser
version: v1.17.2
args: release --clean
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_API_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_API_TOKEN}}
homebrew: homebrew:

View File

@ -12,7 +12,7 @@ builds:
- amd64 - amd64
- arm - arm
- arm64 - arm64
- 386 - '386'
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`. # Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`.
ldflags: ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=binaryRelease - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=binaryRelease