1
0
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:
Carlos A Becker 2022-08-12 09:42:23 -03:00
parent db142acfc5
commit 5759d7fb92
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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 $@