parent
bc82711886
commit
dd1f49b362
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -18,17 +18,12 @@ jobs:
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
include:
|
||||
# End-of-life Python versions are not available anymore with ubuntu-latest
|
||||
- os: ubuntu-20.04
|
||||
python-version: "2.7"
|
||||
- os: ubuntu-20.04
|
||||
python-version: "3.5"
|
||||
- os: ubuntu-20.04
|
||||
python-version: "3.6"
|
||||
- os: ubuntu-20.04
|
||||
python-version: "3.7"
|
||||
# Kodi Leia on Windows uses a bundled Python 2.7.
|
||||
- os: windows-latest
|
||||
python-version: "2.7"
|
||||
steps:
|
||||
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
|
||||
uses: actions/checkout@v3
|
||||
|
@ -5,10 +5,8 @@ from __future__ import absolute_import, division, unicode_literals
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
BRANDS_DIR = 'brands'
|
||||
DIST_DIR = 'dist'
|
||||
|
||||
|
||||
@ -85,5 +83,5 @@ if __name__ == '__main__':
|
||||
shutil.make_archive(os.path.join(DIST_DIR, "%s-%s+matrix.1" % (brand, addon_info['version'])), 'zip', DIST_DIR, brand)
|
||||
|
||||
# Modify addon.xml for leia and create zip
|
||||
modify_xml(os.path.join(dest, 'addon.xml'), addon_info['version'], addon_info['news'], '2.26.0')
|
||||
shutil.make_archive(os.path.join(DIST_DIR, "%s-%s" % (brand, addon_info['version'])), 'zip', DIST_DIR, brand)
|
||||
# modify_xml(os.path.join(dest, 'addon.xml'), addon_info['version'], addon_info['news'], '2.26.0')
|
||||
# shutil.make_archive(os.path.join(DIST_DIR, "%s-%s" % (brand, addon_info['version'])), 'zip', DIST_DIR, brand)
|
||||
|
Loading…
Reference in New Issue
Block a user