Skip to content

Commit

Permalink
Use git rev-parse for git sha
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu committed Sep 5, 2023
1 parent 1586cf9 commit db435b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion f
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -eux

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"

GIT_SHA="$(git describe --always --dirty)"
GIT_SHA="$(git rev-parse --short HEAD)"

echo "Git hash: $GIT_SHA"

Expand Down

0 comments on commit db435b6

Please sign in to comment.