fix ldflags

This commit is contained in:
Krzysztof
2025-08-03 12:24:29 +02:00
parent 17d11decaa
commit 68308121b8
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ jobs:
go-version: "1.24"
- name: Build
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o uptimemonitor -ldflags "-X version.Version=$(git describe --tags)" ./cmd/uptimemonitor
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o uptimemonitor -ldflags "-X uptimemonitor/pkg/version.Version=$(git describe --tags)" ./cmd/uptimemonitor
- name: Release
uses: softprops/action-gh-release@v2