-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #656 from MoojMidge/master
v7.0.5+beta.1
- Loading branch information
Showing
38 changed files
with
951 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,8 +42,8 @@ jobs: | |
git config --global user.name "anxdpanic" | ||
git config --global user.email "[email protected]" | ||
- name: Staging for Official Repository (Nexus) | ||
id: stage-nexus | ||
- name: Staging for Official Repository | ||
id: stage | ||
run: | | ||
mv .git .. | ||
rm -rf .??* | ||
|
@@ -55,53 +55,14 @@ jobs: | |
version=$(xmlstarlet sel -t -v 'string(/addon/@version)' addon.xml) | ||
xmlstarlet ed -L -P \ | ||
-s '/addon/extension[@point="xbmc.addon.metadata"]' -t elem -n news -v "${news:0:1500}" \ | ||
-u '/addon/@version' -v "${version}+nexus.1" \ | ||
addon.xml | ||
git add . | ||
git commit -m "Update news and repository identifier" | ||
working-directory: ${{ github.event.repository.name }} | ||
|
||
- name: Submit to Official Repository (Nexus) | ||
id: submit-nexus | ||
run: | | ||
submit-addon -r repo-plugins -b nexus --pull-request ${{ github.event.repository.name }} | ||
working-directory: ${{ github.event.repository.name }} | ||
env: | ||
GH_USERNAME: anxdpanic | ||
GH_TOKEN: ${{ secrets.ADDON_SUBMISSION_TOKEN }} | ||
EMAIL: [email protected] | ||
|
||
- name: Staging for Official Repository (Matrix) | ||
id: stage-matrix | ||
run: | | ||
git reset --hard ${{ github.sha }} | ||
git checkout . | ||
git clean -fdx | ||
mv .git .. | ||
rm -rf .??* | ||
mv ../.git . | ||
rm *.md | ||
git add . | ||
git commit -m "Remove Unwanted Files" | ||
news=$(awk '/^## /{rel_num++} {if(rel_num==2){exit} if(rel_num==1){print}}' changelog.txt | sed -E 's/ ?#[[:digit:]]+[., ]?//;s/\r//') | ||
xmlstarlet ed -L -P \ | ||
-s '/addon/extension[@point="xbmc.addon.metadata"]' -t elem -n news -v "${news:0:1500}" \ | ||
addon.xml | ||
git add . | ||
git commit -m "Update news" | ||
version=$(xmlstarlet sel -t -v 'string(/addon/@version)' addon.xml) | ||
xmlstarlet ed -L -P \ | ||
-u '/addon/@version' -v "${version}+matrix.1" \ | ||
-u '/addon/requires/import[@addon="xbmc.python"]/@version' -v '3.0.0' \ | ||
-u '/addon/requires/import[@addon="inputstream.adaptive"]/@version' -v '19.0.0' \ | ||
-d '/addon/requires/import[@addon="script.module.infotagger"]' \ | ||
addon.xml | ||
git add . | ||
git commit -m "Kodi 19 Patch" | ||
git commit -m "Update news and repository identifier" | ||
working-directory: ${{ github.event.repository.name }} | ||
|
||
- name: Submit to Official Repository (Matrix) | ||
id: submit-matrix | ||
- name: Submit to Official Repository | ||
id: submit | ||
run: | | ||
submit-addon -r repo-plugins -b matrix --pull-request ${{ github.event.repository.name }} | ||
working-directory: ${{ github.event.repository.name }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.