Skip to content

Commit

Permalink
version fix (#355)
Browse files Browse the repository at this point in the history
Signed-off-by: Atul-source <[email protected]>
  • Loading branch information
Atul-source authored Mar 19, 2024
1 parent e130aef commit 7f9ff18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ swagger:

build:
@CGO_ENABLED=0 go build -ldflags \
"-X main.Version=v1.0.0 \
"-X main.Version=v2.0.0 \
-X main.VersionSHA=`git rev-parse HEAD`"
install: swagger
@go mod tidy
@CGO_ENABLED=0 go install -ldflags \
"-X main.Version=v1.0.0 \
"-X main.Version=v2.0.0 \
-X main.VersionSHA=`git rev-parse HEAD`"

0 comments on commit 7f9ff18

Please sign in to comment.