-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include version when building phoneserver for netlify
- Loading branch information
1 parent
f0fc96b
commit 5f56e75
Showing
2 changed files
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build: | ||
mkdir -p functions | ||
go get ./... | ||
go build -o functions/phoneserver ./cmd/phoneserver | ||
go build -ldflags "-X main.Version=`git describe --tags`" -o functions/phoneserver ./cmd/phoneserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters