-
Notifications
You must be signed in to change notification settings - Fork 46
Development: Releases
The add-on code is both Python 2 and 3 compatible and both Kodi 18 and 19 compatible, and it will stay that way at least until Kodi 19 Matrix Stable is out and mature.
Since Kodi 19, in the end, is making a hard ABI split, 2 versions will get released from now on every release.
The master branch will contain code ready for the current stable Kodi 18.x version. An automated script will make releases for both Kodi 18 Leia and Kodi 19 Matrix from the same source (the difference is only in the ABI version in addon.xml).
Kodi Leia branch will contain code ready Leia and from that branch will get submitted to the official Kodi repository for Leia (the difference is only in the ABI version in addon.xml). Kodi Matrix branch will contain code ready for Matrix from that branch will get submitted to the official Kodi repository for Matrix (the difference is only in the ABI version in addon.xml).
At the moment sending to the Matrix branch fail because of missing dependencies in Matrix repository. Once all the dependencies are available the add-on will be available in Matrix Kodi repository again.
These commands work from UNIX like systems (UNIX,LINUX,macOS, linux like enviroments on other os,ecc...):
From local to make ZIPs for both leia and matrix simply run:
make
To just run test (default: leia if you are on a branch called matrix, matrix tests will be run):
make test
To run tests for both leia and matrix on same code run:
make test-multi
Make ZIPs skip tests:
make zip
Make ZIP from the last commit on the current branch:
make git-zip
Edit ABI for leia:
make abi-leia
Edit ABI for matrix:
make abi-matrix
To merge to the leia or matrix branch for push to the official repo:
git checkout $BRANCH_NAME git merge $TAG_NAME --squash --allow-unrelated-histories
perform the merge and push