Skip to content

Commit 778cedd

Browse files
authored
fix: malformed ldflags (#82)
1 parent b270731 commit 778cedd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ jobs:
4444
ext=""
4545
if [ "${{ matrix.os }}" = "windows" ]; then ext=".exe"; fi
4646
VERSION="${{ needs.release-please.outputs.tag_name }}"
47-
LDFLAGS="-ldflags -X github.com/rose-pine/rose-pine-bloom/cmd.version=${VERSION}"
48-
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build ${LDFLAGS} -o dist/${FILENAME}${ext}
47+
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -ldflags "-X github.com/rose-pine/rose-pine-bloom/cmd.version=${VERSION}" -o dist/${FILENAME}${ext}
4948
- name: Upload to GitHub Release
5049
env:
5150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)