Skip to content

Commit

Permalink
Fixes to release workflow (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers authored Jul 31, 2020
1 parent cc8bac6 commit 3036c77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
export PYTHONPATH := $(CURDIR)/resources/lib:$(CURDIR)/tests
PYTHON := python
KODI_PYTHON_ABIS := 3.0.0 2.25.0

name = $(shell xmllint --xpath 'string(/addon/@id)' addon.xml)
version = $(shell xmllint --xpath 'string(/addon/@version)' addon.xml)
git_branch = $(shell git rev-parse --abbrev-ref HEAD)
git_hash = $(shell git rev-parse --short HEAD)
matrix = $(findstring $(shell xmllint --xpath 'string(/addon/requires/import[@addon="xbmc.python"]/@version)' addon.xml), $(word 1,$(KODI_PYTHON_ABIS)))

ifdef release
zip_name = $(name)-$(version).zip
Expand Down
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<addon id="plugin.video.regiotv" name="Regio TV" version="0.1.2" provider-name="dagwieers">
<requires>
<import addon="script.module.routing" version="0.2.3"/>
<import addon="xbmc.python" version="2.25.0" />
<import addon="xbmc.python" version="2.25.0"/>
</requires>
<extension point="xbmc.python.pluginsource" library="resources/lib/addon_entry.py">
<provides>video</provides>
Expand Down

0 comments on commit 3036c77

Please sign in to comment.