From 19d31cb26373ebe7506c96f03e0d073e0e93a8dc Mon Sep 17 00:00:00 2001 From: creyD Date: Fri, 19 Feb 2021 19:07:12 +0100 Subject: [PATCH] Another try at bugfixing the ignore mechanism --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6ed784c..8dc8c5f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -63,7 +63,6 @@ prettier $INPUT_PRETTIER_OPTIONS || echo "Problem running prettier with $INPUT_P echo "package_lock.json node_modules/ " >> .gitignore -git update-index --assume-unchanged .gitignore # To keep runtime good, just continue if something was changed if _git_changed; then @@ -84,6 +83,7 @@ if _git_changed; then # Add changes to git git add "${INPUT_FILE_PATTERN}" || echo "Problem adding your files with pattern ${INPUT_FILE_PATTERN}" fi + git rm .gitignore # Commit and push changes back if $INPUT_SAME_COMMIT; then