Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed Oct 28, 2023
1 parent f3f3b20 commit 02799d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

git checkout config/config.go
sed -i -- "s/BUILD_VERSION/`git rev-parse HEAD`/g" config/config.go || exit
git checkout config/reader.go
sed -i -- "s/BUILD_VERSION/`git rev-parse HEAD`/g" config/reader.go || exit
CGO_ENABLED=0 go build

0 comments on commit 02799d3

Please sign in to comment.