From 7da3de851eb87a483ec09ff4cbed3257d4856c0e Mon Sep 17 00:00:00 2001 From: Hamish Campbell Date: Thu, 31 Oct 2024 11:56:32 +1300 Subject: [PATCH 1/2] Write LICENSE into the packaged plugin zip QGIS plugin index now requires a LICENSE to be included, otherwise the upload will be rejected --- helper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helper.py b/helper.py index 0c39bbd..c174fb5 100755 --- a/helper.py +++ b/helper.py @@ -36,6 +36,7 @@ def package(version=None): buf = StringIO() cfg.write(buf) zipFile.writestr("kart/metadata.txt", buf.getvalue()) + zipFile.write("LICENSE", "kart/LICENSE") def filter_excludes(files): if not files: From b878c9c5400866f622a42ed89aefe13ddc0b00fc Mon Sep 17 00:00:00 2001 From: Hamish Campbell Date: Thu, 31 Oct 2024 11:58:23 +1300 Subject: [PATCH 2/2] Update download-artifact workflow action to v4 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50052ca..6f97005 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: mkdir tmp unzip kart.zip -d tmp - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: kart_package path: tmp