mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-28 20:24:25 +00:00
Compare commits
7 Commits
01d18b31f4
...
8d3a0980ce
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8d3a0980ce | ||
![]() |
1b499fc020 | ||
![]() |
e9965a1d53 | ||
![]() |
9fdb19b60f | ||
![]() |
429ad9e70b | ||
![]() |
d2682a1468 | ||
![]() |
86c268120a |
7
.github/workflows/release_channels.yml
vendored
7
.github/workflows/release_channels.yml
vendored
@ -63,6 +63,7 @@ jobs:
|
||||
- name: Get release version string
|
||||
run: |
|
||||
echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
||||
echo "short=$(./bin/buildinfo.py short)" >> $GITHUB_OUTPUT
|
||||
echo "deb=$(./bin/buildinfo.py deb)" >> $GITHUB_OUTPUT
|
||||
id: version
|
||||
env:
|
||||
@ -93,9 +94,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 "${{ steps.version.outputs.short }}"
|
||||
|
||||
- name: Create metainfo.xml pull request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
|
@ -47,9 +47,8 @@ def main():
|
||||
'version': args.version,
|
||||
'date': args.date
|
||||
})
|
||||
|
||||
url = ET.SubElement(new_release, 'url', {'type': 'details'})
|
||||
url.text = f"https://github.com/meshtastic/firmware/releases/tag/{args.version}"
|
||||
url.text = "https://github.com/meshtastic/firmware/releases"
|
||||
|
||||
releases.insert(0, new_release)
|
||||
|
1
bin/bump_metainfo/requirements.txt
Normal file
1
bin/bump_metainfo/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
defusedxml==0.7.1
|
@ -87,8 +87,11 @@
|
||||
</screenshots>
|
||||
|
||||
<releases>
|
||||
<release version="v2.6.4.b89355f" date="2025-04-10">
|
||||
<url type="details">https://github.com/meshtastic/firmware/releases/tag/v2.6.4.b89355f</url>
|
||||
<release version="2.6.5" date="2025-04-09">
|
||||
<url type="details">https://github.com/meshtastic/firmware/releases</url>
|
||||
</release>
|
||||
<release version="2.6.4" date="2025-03-29">
|
||||
<url type="details">https://github.com/meshtastic/firmware/releases</url>
|
||||
</release>
|
||||
</releases>
|
||||
</component>
|
@ -13,6 +13,9 @@
|
||||
"git-submodules": {
|
||||
"enabled": true
|
||||
},
|
||||
"pip_requirements": {
|
||||
"fileMatch": ["bin/bump_metainfo/requirements.txt"]
|
||||
},
|
||||
"commitMessageTopic": "{{depName}}",
|
||||
"labels": ["dependencies"],
|
||||
"customDatasources": {
|
||||
|
@ -1,4 +1,4 @@
|
||||
[VERSION]
|
||||
major = 2
|
||||
minor = 6
|
||||
build = 5
|
||||
build = 6
|
||||
|
Loading…
Reference in New Issue
Block a user