Skip to content

Commit

Permalink
Added git config
Browse files Browse the repository at this point in the history
Signed-off-by: Sougata Bhattacharjee <[email protected]>
  • Loading branch information
sougata-progress committed Oct 10, 2024
1 parent bd0d733 commit 3baf903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/launcher/habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ bin="hab-launch"
# Use the number of commits from the start of this repository
# to the current HEAD as the version for our pkg_version
pkg_version() {
git config --global --add safe.directory /src
git rev-list "$(git rev-parse HEAD)" --count
}

Expand Down

0 comments on commit 3baf903

Please sign in to comment.