Skip to content

Commit 6d424be

Browse files
committed
fix: šŸ› update GitVersion command to use default config path if not specified
1 parent d6b68ca commit 6d424be

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ā€Žsrc/gitversion/_gv.shā€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22

33
# Call the GitVersion tool with the specified configuration
4-
/usr/local/bin/dotnet-gitversion -config ${1:-$(git rev-parse --show-toplevel)/.gitversion} $@
4+
/usr/local/bin/dotnet-gitversion $(git rev-parse --show-toplevel) -config ".gitversion" "$@"
5+

0 commit comments

Comments
Ā (0)