Skip to content

Commit

Permalink
Merge pull request #20 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
increase version to 19.0.1 (translations)
  • Loading branch information
AlwinEsch authored Dec 24, 2021
2 parents 69b8ef4 + 6adcb2b commit f70ddae
Show file tree
Hide file tree
Showing 83 changed files with 27 additions and 17 deletions.
41 changes: 25 additions & 16 deletions .github/workflows/sync-addon-metadata-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sync addon metadata translations

on:
push:
branches: [ master, Matrix, Nexus ]
branches: [ Matrix, Nexus ]
paths:
- '**addon.xml.in'
- '**resource.language.**strings.po'
Expand All @@ -12,38 +12,47 @@ jobs:
if: github.repository == 'kodi-game/peripheral.xarcade'
runs-on: ubuntu-latest

strategy:

fail-fast: false
matrix:
python-version: [ 3.9 ]

steps:

- name: Checkout repository
uses: actions/checkout@v2
with:
path: project

- name: Set up Python
- name: Checkout sync_addon_metadata_translations repository
uses: actions/checkout@v2
with:
repository: xbmc/sync_addon_metadata_translations
path: sync_addon_metadata_translations

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install git+https://github.com/xbmc/sync_addon_metadata_translations.git
python -m pip install sync_addon_metadata_translations/
- name: Run sync-addon-metadata-translations
run: |
sync-addon-metadata-translations
working-directory: ./project

- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Sync of addon metadata translations" -a
working-directory: ./project
continue-on-error: true

- name: Push changes
uses: ad-m/github-push-action@master
- name: Create PR for sync-addon-metadata-translations changes
uses: peter-evans/create-pull-request@v3.10.0
with:
branch: ${{ github.ref }}
directory: ./project
commit-message: Sync of addon metadata translations
title: Sync of addon metadata translations
body: Sync of addon metadata translations triggered by ${{ github.sha }}
branch: amt-sync
delete-branch: true
path: ./project
reviewers: gade01
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ set(XARCADE_HEADERS
src/xarcade/XArcadeScanner.h
src/xarcade/XArcadeTypes.h
src/xarcade/XArcadeUtils.h
src/addon.h
)

# ------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion peripheral.xarcade/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="peripheral.xarcade"
version="19.0.0"
version="19.0.1"
name="X-Arcade Tankstick Driver"
provider-name="Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand Down

0 comments on commit f70ddae

Please sign in to comment.