mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
fix: git safe directory
closes #3233 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
db142acfc5
commit
5759d7fb92
@ -26,7 +26,7 @@ if [ -n "$CI_REGISTRY_PASSWORD" ]; then
|
||||
fi
|
||||
|
||||
# prevents git from complaining about unsafe dir, specially when using github actions
|
||||
git config --global --add safe.directory .
|
||||
git config --global --add safe.directory $PWD
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
exec goreleaser $@
|
||||
|
Loading…
Reference in New Issue
Block a user