From 8b7bafc4b615275932e650f6c3bc1f089a02cb16 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Wed, 10 Dec 2025 23:52:28 +0800 Subject: [PATCH] chore(koplugin): add version info in the meta file (#2679) --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59d077a7..c7c9fc13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,6 +95,8 @@ jobs: run: | version=${{ needs.get-release.outputs.release_version }} plugin_zip="Readest-${version}-1.koplugin.zip" + meta_file="apps/readest.koplugin/_meta.lua" + perl -i -pe "s/^}/ version = \"${version}\",\n}/" "${meta_file}" cd apps zip -r ../${plugin_zip} readest.koplugin