forked from dersphere/plugin.audio.shoutcast
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
7,516 additions
and
7,516 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.gitignore export-ignore | ||
.gitattributes export-ignore | ||
.github export-ignore | ||
.gitignore export-ignore | ||
.gitattributes export-ignore | ||
.github export-ignore | ||
changelog.txt |
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
name: Kodi Addon-Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- v* | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
kodi-addon-checker: | ||
runs-on: ubuntu-latest | ||
name: Kodi addon checker | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Extract official repo target | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | ||
id: extract_branch | ||
|
||
- name: Kodi addon checker validation | ||
id: kodi-addon-checker | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: ${{ steps.extract_branch.outputs.branch }} | ||
addon-id: ${{ github.event.repository.name }} | ||
is-pr: false | ||
name: Kodi Addon-Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- v* | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
kodi-addon-checker: | ||
runs-on: ubuntu-latest | ||
name: Kodi addon checker | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Extract official repo target | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | ||
id: extract_branch | ||
|
||
- name: Kodi addon checker validation | ||
id: kodi-addon-checker | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: ${{ steps.extract_branch.outputs.branch }} | ||
addon-id: ${{ github.event.repository.name }} | ||
is-pr: false |
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 |
---|---|---|
@@ -1,70 +1,70 @@ | ||
name: Kodi Addon-Submitter | ||
|
||
on: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
kodi-addon-submitter: | ||
runs-on: ubuntu-latest | ||
name: Kodi Addon Submitter | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Extract kodi official repository target | ||
id: extract_branch_pr | ||
shell: bash | ||
env: | ||
ADDON_ID: ${{ github.event.repository.name }} | ||
run: | | ||
echo "##[set-output name=branch;]$(git --no-pager branch -a --contains "$GITHUB_SHA" | grep 'remotes/origin/' | cut -d '/' -f3)" | ||
if [[ $ADDON_ID == plugin* ]]; then | ||
echo "##[set-output name=repo;]repo-plugins" | ||
else | ||
echo "##[set-output name=repo;]repo-scripts" | ||
fi | ||
- name: Kodi addon checker validation | ||
id: kodi-addon-checker | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: ${{ steps.extract_branch_pr.outputs.branch }} | ||
addon-id: ${{ github.event.repository.name }} | ||
is-pr: true | ||
|
||
- name: Generate distribution zip and submit to official kodi repository | ||
id: kodi-addon-submitter | ||
uses: xbmc/[email protected] | ||
with: # Replace all the below values | ||
kodi-repository: ${{ steps.extract_branch_pr.outputs.repo }} | ||
kodi-version: ${{ steps.extract_branch_pr.outputs.branch }} | ||
addon-id: ${{ github.event.repository.name }} | ||
env: # Make sure you create the below secrets (GH_TOKEN and EMAIL) | ||
GH_USERNAME: enenbot | ||
GH_TOKEN: ${{secrets.GH_TOKEN}} | ||
EMAIL: ${{secrets.EMAIL}} | ||
|
||
- name: Create Github Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
body: "Version for use in Kodi ${{ steps.extract_branch_pr.outputs.branch }} and above" | ||
|
||
- name: Upload Addon zip to github release | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ steps.kodi-addon-submitter.outputs.addon-zip }} | ||
asset_name: ${{ steps.kodi-addon-submitter.outputs.addon-zip }} | ||
asset_content_type: application/zip | ||
name: Kodi Addon-Submitter | ||
|
||
on: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
kodi-addon-submitter: | ||
runs-on: ubuntu-latest | ||
name: Kodi Addon Submitter | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Extract kodi official repository target | ||
id: extract_branch_pr | ||
shell: bash | ||
env: | ||
ADDON_ID: ${{ github.event.repository.name }} | ||
run: | | ||
echo "##[set-output name=branch;]$(git --no-pager branch -a --contains "$GITHUB_SHA" | grep 'remotes/origin/' | cut -d '/' -f3)" | ||
if [[ $ADDON_ID == plugin* ]]; then | ||
echo "##[set-output name=repo;]repo-plugins" | ||
else | ||
echo "##[set-output name=repo;]repo-scripts" | ||
fi | ||
- name: Kodi addon checker validation | ||
id: kodi-addon-checker | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: ${{ steps.extract_branch_pr.outputs.branch }} | ||
addon-id: ${{ github.event.repository.name }} | ||
is-pr: true | ||
|
||
- name: Generate distribution zip and submit to official kodi repository | ||
id: kodi-addon-submitter | ||
uses: xbmc/[email protected] | ||
with: # Replace all the below values | ||
kodi-repository: ${{ steps.extract_branch_pr.outputs.repo }} | ||
kodi-version: ${{ steps.extract_branch_pr.outputs.branch }} | ||
addon-id: ${{ github.event.repository.name }} | ||
env: # Make sure you create the below secrets (GH_TOKEN and EMAIL) | ||
GH_USERNAME: enenbot | ||
GH_TOKEN: ${{secrets.GH_TOKEN}} | ||
EMAIL: ${{secrets.EMAIL}} | ||
|
||
- name: Create Github Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
body: "Version for use in Kodi ${{ steps.extract_branch_pr.outputs.branch }} and above" | ||
|
||
- name: Upload Addon zip to github release | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ steps.kodi-addon-submitter.outputs.addon-zip }} | ||
asset_name: ${{ steps.kodi-addon-submitter.outputs.addon-zip }} | ||
asset_content_type: application/zip |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*.pyc | ||
*.pyo | ||
__pycache__ | ||
*.pyc | ||
*.pyo | ||
__pycache__ | ||
.DS_Store |
Oops, something went wrong.