From 8daa98eaf2854edf059afa418ad8ee77be302443 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 06 Apr 2025 13:27:25 +0800 Subject: [PATCH] Makefile: Fix version spec --- Makefile | 2 +- diff --git a/Makefile b/Makefile index 9506aa0fc0bb3094ae654f20f4d7b121b0457ef5..d52c3f6c319621d6acd9a2ad577fc9916729bdaa 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ EMBED = git2d/git2d hookc/hookc source.tar.gz $(wildcard LICENSE*) $(wildcard forged/static/*) $(wildcard forged/templates/*) EMBED_ = $(EMBED:%=forged/internal/embed/%) forge: $(EMBED_) $(SOURCE_FILES) - CGO_ENABLED=0 go build -o forge -ldflags '-extldflags "-f no-PIC -static" -X "go.lindenii.runxiyu.org/forge.version=$(VERSION)"' -tags 'osusergo netgo static_build' ./forged/cmd/forge + CGO_ENABLED=0 go build -o forge -ldflags '-extldflags "-f no-PIC -static" -X "go.lindenii.runxiyu.org/forge/forged/internal/unsorted.version=$(VERSION)"' -tags 'osusergo netgo static_build' ./forged/cmd/forge utils/colb: -- 2.48.1