Fehler beim Schreiben der plugin.xml behoben
This commit is contained in:
@@ -74,10 +74,10 @@ jobs:
|
||||
run: |
|
||||
cd repo
|
||||
FILE="${{ steps.xmlfile.outputs.file }}"
|
||||
NAME="${{ steps.payload.outputs.name }}"
|
||||
ID="${{ steps.payload.outputs.plugin_id }}"
|
||||
|
||||
# Entfernt den kompletten Plugin-Block
|
||||
sed -i "/<plugin name=\"${NAME//\//\\/}\"/,/<\/plugin>/d" "$FILE"
|
||||
sed -i "/<pyqgis_plugin[^>]*plugin_id=\"${ID//\//\\/}\"/,/<\/pyqgis_plugin>/d" "$FILE"
|
||||
|
||||
- name: Template anwenden und neue XML erzeugen
|
||||
run: |
|
||||
|
||||
@@ -1,21 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<plugins>
|
||||
<pyqgis_plugin name="LNO Sachsen | Plugin Test Action" version="69-testing" plugin_id="plugin_folder">
|
||||
<description>Test plugin for release pipeline</description>
|
||||
<version>69-testing</version>
|
||||
<author>Daniel Helbig, Michael Otto</author>
|
||||
<email>daniel.helbig@kreis-meissen.de, michael.otto@landkreis-mittelsachsen.de</email>
|
||||
<download_url>https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action/releases/download/v69-testing/Plugin_Test_Action-69-testing.zip</download_url>
|
||||
<qgis_minimum_version>3.0</qgis_minimum_version>
|
||||
<qgis_maximum_version>3.99</qgis_maximum_version>
|
||||
<experimental>True</experimental>
|
||||
<deprecated>False</deprecated>
|
||||
<homepage>https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action</homepage>
|
||||
<tracker>https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action/issues</tracker>
|
||||
<repository>https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action</repository>
|
||||
<tags>Flurbereinigung</tags>
|
||||
<changelog> - Ganz viele neue Sachen</changelog>
|
||||
</pyqgis_plugin>
|
||||
<pyqgis_plugin name="LNO Sachsen | Plugin Test Action" version="70-testing" plugin_id="plugin_folder">
|
||||
<description>Test plugin for release pipeline</description>
|
||||
<version>70-testing</version>
|
||||
|
||||
Reference in New Issue
Block a user