Skip to content

Commit 820dbb8

Browse files
committed
add build file
1 parent 650367e commit 820dbb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
commit=$(git show --no-patch --format='%H')
4+
5+
go build -ldflags="-X 'main.Revision=$commit'" main/migration_verifier.go

0 commit comments

Comments
 (0)