aboutsummaryrefslogtreecommitdiff
path: root/build.bash
blob: c4b7121edcf2635ec711613c3c4515e8ef2458c3 (plain)
1
2
3
4
5
6
7
#!/bin/bash

set -eu

GITVERSION=$(git describe --tags --dirty)

go build -ldflags="-X main.GitVersion=$GITVERSION" && ./gocryptfs -version