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