Skip to content

Commit

Permalink
Add dev-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alex27riva committed Oct 17, 2024
1 parent 58ba822 commit a9e8287
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

export VERSION=dev-$(git rev-parse --short HEAD)
go build -o soc -ldflags "-X 'soc-cli/cmd.Version=$VERSION'"

0 comments on commit a9e8287

Please sign in to comment.