diff --git a/.github/workflows/release_channels.yml b/.github/workflows/release_channels.yml index bd9e50fab..c5acbfafb 100644 --- a/.github/workflows/release_channels.yml +++ b/.github/workflows/release_channels.yml @@ -93,9 +93,9 @@ jobs: - name: Bump org.meshtastic.meshtasticd.metainfo.xml shell: bash run: | - pip install defusedxml -q - chmod +x ./bin/bump_metainfo.py - ./bin/bump_metainfo.py --file bin/org.meshtastic.meshtasticd.metainfo.xml "v${{ steps.version.outputs.long }}" + pip install -r bin/bump_metainfo/requirements.txt -q + chmod +x ./bin/bump_metainfo/bump_metainfo.py + ./bin/bump_metainfo/bump_metainfo.py --file bin/org.meshtastic.meshtasticd.metainfo.xml "v${{ steps.version.outputs.long }}" - name: Create metainfo.xml pull request uses: peter-evans/create-pull-request@v7 diff --git a/bin/bump_metainfo.py b/bin/bump_metainfo/bump_metainfo.py similarity index 100% rename from bin/bump_metainfo.py rename to bin/bump_metainfo/bump_metainfo.py diff --git a/bin/bump_metainfo/requirements.txt b/bin/bump_metainfo/requirements.txt new file mode 100644 index 000000000..09dd20d24 --- /dev/null +++ b/bin/bump_metainfo/requirements.txt @@ -0,0 +1 @@ +defusedxml==0.7.1