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 8, 2023
1 parent 70cf644 commit 998ef7e
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 998ef7e

Please sign in to comment.