We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b270731 commit 778ceddCopy full SHA for 778cedd
.github/workflows/release.yml
@@ -44,8 +44,7 @@ jobs:
44
ext=""
45
if [ "${{ matrix.os }}" = "windows" ]; then ext=".exe"; fi
46
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}
+ GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -ldflags "-X github.com/rose-pine/rose-pine-bloom/cmd.version=${VERSION}" -o dist/${FILENAME}${ext}
49
- name: Upload to GitHub Release
50
env:
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments