diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index bed462f..9f33aec 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -91,10 +91,18 @@ jobs: CONTENT=$(cat "$TEMPLATE") CONTENT="${CONTENT//\{\{NAME\}\}/${{ steps.info.outputs.name }}}" + CONTENT="${CONTENT//\{\{QGIS_MIN\}\}/${{ steps.info.outputs.qgisMinimumVersion }}}" + CONTENT="${CONTENT//\{\{QGIS_MAX\}\}/${{ steps.info.outputs.qgisMaximumVersion }}}" CONTENT="${CONTENT//\{\{DESCRIPTION\}\}/${{ steps.info.outputs.description }}}" + CONTENT="${CONTENT//\{\{VERSION\}\}/${{ steps.releaseinfo.outputs.version }}}" CONTENT="${CONTENT//\{\{AUTHOR\}\}/${{ steps.info.outputs.author }}}" CONTENT="${CONTENT//\{\{EMAIL\}\}/${{ steps.info.outputs.email }}}" - CONTENT="${CONTENT//\{\{VERSION\}\}/${{ steps.releaseinfo.outputs.version }}}" + CONTENT="${CONTENT//\{\{HOMEPAGE\}\}/${{ steps.info.outputs.homepage }}}" + CONTENT="${CONTENT//\{\{TRACKER\}\}/${{ steps.info.outputs.tracker }}}" + CONTENT="${CONTENT//\{\{REPOSITORY\}\}/${{ steps.info.outputs.repository }}}" + CONTENT="${CONTENT//\{\{EXPERIMENTAL\}\}/${{ steps.info.outputs.experimental }}}" + CONTENT="${CONTENT//\{\{DEPRECATED\}\}/${{ steps.info.outputs.deprecated }}}" + CONTENT="${CONTENT//\{\{QT6\}\}/${{ steps.info.outputs.supportsQt6 }}}" printf "%s\n" "$CONTENT" > "$OUT" diff --git a/templates/metadata.template b/templates/metadata.template index 8a2c85e..5080ef5 100644 --- a/templates/metadata.template +++ b/templates/metadata.template @@ -1,13 +1,14 @@ [general] -name={{PLUGIN}} -qgisMinimumVersion=3.0 -qgisMaximumVersion=3.99 +name={{NAME}} +qgisMinimumVersion={{QGIS_MIN}} +qgisMaximumVersion={{QGIS_MAX}} description={{DESCRIPTION}} -version=@VERSION@ -author=Daniel Helbig, Michael Otto -email=daniel.helbig@kreis-meissen.de, michael.otto@landkreis-mittelsachsen.de -homepage=https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action -tracker=https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action/issues -repository=https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action -experimental=True -deprecated=False \ No newline at end of file +version={{VERSION}} +author={{AUTHOR}} +email={{EMAIL}} +homepage={{HOMEPAGE}} +tracker={{TRACKER}} +repository={{REPOSITORY}} +experimental={{EXPERIMENTAL}} +deprecated={{DEPRECATED}} +supportsQt6={{QT6}} \ No newline at end of file