mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 14:38:59 +00:00
fix(graalvm): do not clean on git pull
This commit is contained in:
1 file changed
+2
-2
@@ -69,8 +69,8 @@ if [ "${GIT_ENABLED}" == "true" ] || [ "${GIT_ENABLED}" == "1" ]; then
|
|||||||
# If git origin matches the repo specified by user then pull
|
# If git origin matches the repo specified by user then pull
|
||||||
if [ "${GIT_ORIGIN}" == "${GIT_REPOURL}" ]; then
|
if [ "${GIT_ORIGIN}" == "${GIT_REPOURL}" ]; then
|
||||||
# Override local changes
|
# Override local changes
|
||||||
echo "Overriding local changes..."
|
# echo "Overriding local changes..."
|
||||||
git clean -fd
|
# git clean -fd
|
||||||
|
|
||||||
# Fetch latest changes (shallow if original clone was shallow)
|
# Fetch latest changes (shallow if original clone was shallow)
|
||||||
echo "Fetching latest changes..."
|
echo "Fetching latest changes..."
|
||||||
|
|||||||
Reference in new issue
Block a user