Fix version generation

This commit is contained in:
ErickSkrauch
2023-12-13 01:23:53 +01:00
parent 8959e53270
commit 6cb5e1eb42
2 changed files with 4 additions and 4 deletions

View File

@@ -12,8 +12,7 @@ RUN go mod download
RUN CGO_ENABLED=0 \
go build \
-trimpath \
-ldflags "-X github.com/elyby/chrly/version.version=$VERSION -X github.com/elyby/chrly/version.commit=$COMMIT" \
-ldflags="-w -s" \
-ldflags "-w -s -X github.com/elyby/chrly/version.version=$VERSION -X github.com/elyby/chrly/version.commit=$COMMIT" \
-o chrly \
main.go