3f490d4d86
Example: ./gocryptfs -version gocryptfs v0.2-20-gabcef9e-dirty; on-disk format 1 Note that you MUST compile using "./build.bash" for this to work.
8 lines
140 B
Bash
Executable File
8 lines
140 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
GITVERSION=$(git describe --tags --dirty)
|
|
|
|
go build -ldflags="-X main.GitVersion=$GITVERSION" && ./gocryptfs -version
|