fix: change ldflags
This commit is contained in:
@@ -57,6 +57,7 @@ build() {
|
|||||||
-mod=readonly \
|
-mod=readonly \
|
||||||
-modcacherw \
|
-modcacherw \
|
||||||
-ldflags "\
|
-ldflags "\
|
||||||
|
-linkmode external \
|
||||||
-X main.version=$pkgver \
|
-X main.version=$pkgver \
|
||||||
-X main.commit=$(git rev-parse HEAD) \
|
-X main.commit=$(git rev-parse HEAD) \
|
||||||
-X main.date=$(date --iso-8601=seconds) \
|
-X main.date=$(date --iso-8601=seconds) \
|
||||||
|
|||||||
Reference in New Issue
Block a user