Skip to content

Commit

Permalink
fix: CLI does not produce release binaries (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote authored May 4, 2024
1 parent 415c47e commit f373d4c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_GH_TOKEN }}
token: ${{ secrets.RELEASE_GH_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
6 changes: 6 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ version: 1
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -X {{ .ModulePath }}/internal/version.version={{ .Version }}
- -X {{ .ModulePath }}/internal/version.versionPrerelease=
goos:
- linux
- windows
Expand All @@ -25,6 +28,9 @@ archives:
- goos: windows
format: zip

snapshot:
name_template: "{{ .Version }}-dev+{{ .ShortCommit }}"

changelog:
# Generated by release-please
disable: true
Expand Down

0 comments on commit f373d4c

Please sign in to comment.