forked from AG_QGIS/Plugin_Test_Action
.gitea/workflows/release.yml aktualisiert
This commit is contained in:
@@ -185,26 +185,31 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
NAME="${{ steps.cfg.outputs.name }}"
|
NAME="${{ steps.cfg.outputs.name }}"
|
||||||
VERSION="${{ steps.info.outputs.version }}"
|
VERSION="${{ steps.info.outputs.version }}"
|
||||||
|
|
||||||
BLOCK=$(cat <<EOF
|
|
||||||
<pyqgis_plugin name="${NAME}" version="${VERSION}">
|
|
||||||
<description>${{ steps.cfg.outputs.description }}</description>
|
|
||||||
<qgisMinimumVersion>${{ steps.cfg.outputs.qgis_min }}</qgisMinimumVersion>
|
|
||||||
<qgisMaximumVersion>${{ steps.cfg.outputs.qgis_max }}</qgisMaximumVersion>
|
|
||||||
<author>${{ steps.cfg.outputs.author }}</author>
|
|
||||||
<email>${{ steps.cfg.outputs.email }}</email>
|
|
||||||
<homepage>${{ steps.cfg.outputs.homepage }}</homepage>
|
|
||||||
<tracker>${{ steps.cfg.outputs.tracker }}</tracker>
|
|
||||||
<repository>${{ steps.cfg.outputs.repository }}</repository>
|
|
||||||
<download_url>${{ steps.upload_asset.outputs.download_url }}</download_url>
|
|
||||||
<experimental>${{ steps.cfg.outputs.experimental }}</experimental>
|
|
||||||
<deprecated>${{ steps.cfg.outputs.deprecated }}</deprecated>
|
|
||||||
</pyqgis_plugin>
|
|
||||||
EOF
|
|
||||||
)
|
|
||||||
|
|
||||||
BLOCK_ESCAPED=$(printf '%s' "$BLOCK" | sed 's/"/\\"/g')
|
BLOCK=$(cat <<EOF
|
||||||
echo "block=${BLOCK_ESCAPED}" >> $GITHUB_OUTPUT
|
<pyqgis_plugin name="${NAME}" version="${VERSION}">
|
||||||
|
<description>${{ steps.cfg.outputs.description }}</description>
|
||||||
|
<qgisMinimumVersion>${{ steps.cfg.outputs.qgis_min }}</qgisMinimumVersion>
|
||||||
|
<qgisMaximumVersion>${{ steps.cfg.outputs.qgis_max }}</qgisMaximumVersion>
|
||||||
|
<author>${{ steps.cfg.outputs.author }}</author>
|
||||||
|
<email>${{ steps.cfg.outputs.email }}</email>
|
||||||
|
<homepage>${{ steps.cfg.outputs.homepage }}</homepage>
|
||||||
|
<tracker>${{ steps.cfg.outputs.tracker }}</tracker>
|
||||||
|
<repository>${{ steps.cfg.outputs.repository }}</repository>
|
||||||
|
<download_url>${{ steps.upload_asset.outputs.download_url }}</download_url>
|
||||||
|
<experimental>${{ steps.cfg.outputs.experimental }}</experimental>
|
||||||
|
<deprecated>${{ steps.cfg.outputs.deprecated }}</deprecated>
|
||||||
|
</pyqgis_plugin>
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
|
# Mehrzeiligen Output korrekt setzen
|
||||||
|
{
|
||||||
|
echo "block<<EOF"
|
||||||
|
echo "$BLOCK"
|
||||||
|
echo "EOF"
|
||||||
|
} >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
|
||||||
- name: Dispatch to Repository
|
- name: Dispatch to Repository
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user