[#69] automatically add version information

This commit is contained in:
毛亚琛
2022-07-11 15:26:55 +08:00
committed by GitHub
parent 10d7faea31
commit ec0d3b0d3d
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -9,6 +9,8 @@ before:
builds:
- main: ./examples/base
binary: pocketbase
ldflags:
- -s -w -X github.com/pocketbase/pocketbase.Version={{ .Version }}
env:
- CGO_ENABLED=0
goos: