Skip to content

Commit

Permalink
Print commit id running build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
navilg committed Apr 30, 2023
1 parent a456ba8 commit 87951b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
go version || exit 1

commitId=$(git log --format="%H" -n 1)
echo $commitId

sed -i "s|###GitCommitPlaceholder###|${commitId}|g" internal/config/config.go

Expand Down

0 comments on commit 87951b3

Please sign in to comment.