From e257d2a7fb905f30d1bfe1d3b28e88bcfbf5a489 Mon Sep 17 00:00:00 2001 From: Julien Date: Wed, 12 Jan 2022 20:19:15 +0100 Subject: [PATCH] Auto remove compiled python files from gitignore --- .github/workflows/packager.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/packager.yml b/.github/workflows/packager.yml index 7c9e08c..2ee9c2d 100644 --- a/.github/workflows/packager.yml +++ b/.github/workflows/packager.yml @@ -122,6 +122,7 @@ jobs: - name: Amend gitignore to include embedded libs with qgis-plugin-ci run: | + sed -i 's/^\*\.py\[cod\].*//' .gitignore sed -i "s|^${{ env.PROJECT_FOLDER }}/embedded_external_libs/.*| |" .gitignore git add ${{ env.PROJECT_FOLDER }}/embedded_external_libs/ @@ -183,6 +184,7 @@ jobs: - name: Amend gitignore to include embedded libs with qgis-plugin-ci run: | + sed -i 's/^\*\.py\[cod\].*//' .gitignore sed -i "s|^${{ env.PROJECT_FOLDER }}/embedded_external_libs/.*| |" .gitignore git add ${{ env.PROJECT_FOLDER }}/embedded_external_libs/