diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,7 +5,7 @@ LICENSE="$(cat LICENSE)" version="$(git log --format="%h %d" -1) Source code can be found here: -https://git.riedstra.us/mitch/go-website.git +https://git.riedstra.dev/mitch/go-website $LICENSE" @@ -13,4 +13,6 @@ if ! git diff-index --quiet HEAD ; then version="dirty: $version" fi +export CGO_ENABLED=0 + go build -ldflags="-X 'main.VersionString=$version'" ./cmd/server |
