Skip to content

Commit

Permalink
Prepare for v0.5.0 release (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister authored Sep 11, 2024
1 parent 8abb4da commit 8fa89bb
Show file tree
Hide file tree
Showing 20 changed files with 140 additions and 629 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get changelog
id: get-changelog
run: |
description=$(sed '1,6d;/^## /,$d' CHANGELOG.md)
description=$(sed '0,/^## Changelog$/d;/^$/d;/## [v0-9\.]*/d;/^-/!d' README.md)
echo $description
description="${description//'%'/'%25'}"
description="${description//$'\n'/'%0A'}"
description="${description//$'\r'/'%0D'}"
echo ::set-output name=body::$description
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "body<<$EOF" >> $GITHUB_OUTPUT
echo "$description" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
- name: Generate distribution zips
run: scripts/build.py
Expand All @@ -32,3 +32,15 @@ jobs:
prerelease: false
files: "dist/*.zip"
token: ${{ secrets.GH_TOKEN }}

- name: Submit release to official kodi repository
id: submit-to-kodi-repo
uses: mediaminister/action-kodi-addon-submitter@master
with:
kodi-repository: repo-plugins
kodi-version: matrix
addon-id: plugin.video.goplay
env:
GH_USERNAME: ${{secrets.GH_USERNAME}}
GH_TOKEN: ${{secrets.GH_TOKEN}}
EMAIL: ${{secrets.EMAIL}}
189 changes: 0 additions & 189 deletions CHANGELOG.md

This file was deleted.

3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ build: clean

release:
ifneq ($(release),)
docker run -it --rm --env CHANGELOG_GITHUB_TOKEN=$(GH_TOKEN) -v "$(shell pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u add-ons -p plugin.video.viervijfzes --no-issues --exclude-labels duplicate,question,invalid,wontfix,release,testing --future-release v$(release)

@printf "cd /addon/@version\nset $$release\nsave\nbye\n" | xmllint --shell addon.xml; \
date=$(shell date '+%Y-%m-%d'); \
printf "cd /addon/extension[@point='xbmc.addon.metadata']/news\nset v$$release ($$date)\nsave\nbye\n" | xmllint --shell addon.xml; \

# Next steps to release:
# - Modify changelog
# - Modify the news-section of addons.xml
# - git add . && git commit -m "Prepare for v$(release)" && git push
# - git tag v$(release) && git push --tags
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@

# GoPlay Kodi add-on

*plugin.video.goplay* is een Kodi add-on om de video-on-demand content van [GoPlay](https://www.goplay.be/) te bekijken. Je moet hiervoor wel eerst een
account aanmaken op [goplay.be](https://www.goplay.be/).
*plugin.video.goplay* is een Kodi add-on om de video-on-demand content van [GoPlay](https://www.goplay.be/) te bekijken. Hiervoor dien je eerst een
account op [goplay.be](https://www.goplay.be/) aan te maken.

## Features

De volgende features worden ondersteund:
* Bekijk on-demand content van Play4, Play5, Play6, Play7 en Play Crime
* Doorzoeken van alle programma's
* Afspelen van gerelateerde Youtube content

## Screenshots

Expand All @@ -25,3 +24,9 @@ De volgende features worden ondersteund:
<td><img src="resources/screenshot03.jpg" width=270></td>
</tr>
</table>

## Changelog

## [v0.5.0](https://github.com/add-ons/plugin.video.goplay/tree/v0.5.0) (2024-09-11)

- Update to new GoPlay API (@mediaminister)
5 changes: 3 additions & 2 deletions addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
<disclaimer lang="en_GB">This add-on is not officially commissioned/supported by Play Media and is provided 'as is' without any warranty of any kind. The logos are property of Play Media.</disclaimer>
<platform>all</platform>
<license>GPL-3.0-only</license>
<news>v0.5.0 (2024-09-10)
- API update.</news>
<news>v0.5.0 (2024-09-11)
- Update to new GoPlay API
</news>
<source>https://github.com/add-ons/plugin.video.goplay</source>
<assets>
<icon>resources/icon.png</icon>
Expand Down
34 changes: 0 additions & 34 deletions resources/language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ msgid "Go to Program"
msgstr ""


### CODE
msgctxt "#30206"
msgid "Watch [B]{label}[/B] on YouTube"
msgstr ""


### MESSAGES
msgctxt "#30701"
msgid "To watch a video, you need to enter your credentials. Do you want to enter them now?"
Expand Down Expand Up @@ -140,34 +134,6 @@ msgctxt "#30803"
msgid "Password"
msgstr ""

msgctxt "#30820"
msgid "Interface"
msgstr ""

msgctxt "#30821"
msgid "Show unavailable programs"
msgstr ""

msgctxt "#30840"
msgid "Integration"
msgstr ""

msgctxt "#30841"
msgid "IPTV Manager"
msgstr ""

msgctxt "#30842"
msgid "Install IPTV Manager add-on…"
msgstr ""

msgctxt "#30843"
msgid "Enable IPTV Manager integration"
msgstr ""

msgctxt "#30844"
msgid "IPTV Manager settings…"
msgstr ""

msgctxt "#30880"
msgid "Expert"
msgstr ""
Expand Down
34 changes: 0 additions & 34 deletions resources/language/resource.language.nl_nl/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ msgid "Go to Program"
msgstr "Ga naar programma"


### CODE
msgctxt "#30206"
msgid "Watch [B]{label}[/B] on YouTube"
msgstr "Bekijk [B]{label}[/B] op YouTube"


### MESSAGES
msgctxt "#30701"
msgid "To watch a video, you need to enter your credentials. Do you want to enter them now?"
Expand Down Expand Up @@ -141,34 +135,6 @@ msgctxt "#30803"
msgid "Password"
msgstr "Wachtwoord"

msgctxt "#30820"
msgid "Interface"
msgstr "Interface"

msgctxt "#30821"
msgid "Show unavailable programs"
msgstr "Toon onbeschikbare programma's"

msgctxt "#30840"
msgid "Integration"
msgstr "Integratie"

msgctxt "#30841"
msgid "IPTV Manager"
msgstr "IPTV Manager"

msgctxt "#30842"
msgid "Install IPTV Manager add-on…"
msgstr "Installeer de IPTV Manager add-on…"

msgctxt "#30843"
msgid "Enable IPTV Manager integration"
msgstr "Activeer IPTV Manager integratie"

msgctxt "#30844"
msgid "IPTV Manager settings…"
msgstr "IPTV Manager instellingen…"

msgctxt "#30880"
msgid "Expert"
msgstr "Expert"
Expand Down
Loading

0 comments on commit 8fa89bb

Please sign in to comment.