From aff3b2b3ec802b9ff26e35f89c83ae845292ff9b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 1 Oct 2022 08:49:06 +0000 Subject: [PATCH 1/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index efd5fa5..a0a299f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A DLNA, UPnP and HTTP(S) Media Server -**Shipped version:** 11.4.1 +**Shipped version:** 11.4.1 *(:warning: This is the `testing` branch. The [`master` branch](https://github.com/YunoHost-Apps/ums_ynh/tree/master) used in the catalog is currently on version 11.3.0\~ynh1.)* ## Screenshots diff --git a/README_fr.md b/README_fr.md index 53af922..76391a3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un Serveur Multimedia DLNA, UPnP et HTTP(S) -**Version incluse :** 11.4.1 +**Version incluse :** 11.4.1 *(:warning: Il s'agit de la branche `testing`. La [branche `master`](https://github.com/YunoHost-Apps/ums_ynh/tree/master) utilisée dans le catalogue est actuellement en 11.3.0\~ynh1.)* ## Captures d'écran From 8f56a83d4f1ead799eecd7cb4307317aafa8d24c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 1 Oct 2022 08:49:37 +0000 Subject: [PATCH 2/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0a299f..efd5fa5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A DLNA, UPnP and HTTP(S) Media Server -**Shipped version:** 11.4.1 *(:warning: This is the `testing` branch. The [`master` branch](https://github.com/YunoHost-Apps/ums_ynh/tree/master) used in the catalog is currently on version 11.3.0\~ynh1.)* +**Shipped version:** 11.4.1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 76391a3..53af922 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un Serveur Multimedia DLNA, UPnP et HTTP(S) -**Version incluse :** 11.4.1 *(:warning: Il s'agit de la branche `testing`. La [branche `master`](https://github.com/YunoHost-Apps/ums_ynh/tree/master) utilisée dans le catalogue est actuellement en 11.3.0\~ynh1.)* +**Version incluse :** 11.4.1 ## Captures d'écran From 90109c463f7fb0a97f252bea55150bc1ca30c280 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 12 Oct 2022 20:33:32 +0000 Subject: [PATCH 3/5] Auto-update README --- README.md | 1 - README_fr.md | 2 -- 2 files changed, 3 deletions(-) diff --git a/README.md b/README.md index 47ed9af..3848e52 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A DLNA, UPnP and HTTP(S) Media Server **Shipped version:** 11.5.0 - ## Screenshots ![Screenshot of Universal Media Server](./doc/screenshots/screenshot.gif) diff --git a/README_fr.md b/README_fr.md index e5dc39b..be75d2c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,8 +18,6 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un Serveur Multimedia DLNA, UPnP et HTTP(S) **Version incluse :** 11.5.0 - - ## Captures d'écran ![Capture d'écran de Universal Media Server](./doc/screenshots/screenshot.gif) From 7a5d5a1e1a99c44395da0af432e9aecb7cba1bc9 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 12 Oct 2022 20:34:50 +0000 Subject: [PATCH 4/5] Auto-update README --- README.md | 2 -- README_fr.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index 4899153..3848e52 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,6 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A DLNA, UPnP and HTTP(S) Media Server **Shipped version:** 11.5.0 - - ## Screenshots ![Screenshot of Universal Media Server](./doc/screenshots/screenshot.gif) diff --git a/README_fr.md b/README_fr.md index e5dc39b..be75d2c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,8 +18,6 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un Serveur Multimedia DLNA, UPnP et HTTP(S) **Version incluse :** 11.5.0 - - ## Captures d'écran ![Capture d'écran de Universal Media Server](./doc/screenshots/screenshot.gif) From f4a73016fc8754fde344ae34b25518fa7f1751e9 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 18 Dec 2022 17:40:26 +0100 Subject: [PATCH 5/5] Create updater.yml --- .github/workflows/updater.yml | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/updater.yml diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml new file mode 100644 index 0000000..4363d38 --- /dev/null +++ b/.github/workflows/updater.yml @@ -0,0 +1,50 @@ +# This workflow allows GitHub Actions to automagically update your app whenever a new upstream release is detected. +# You need to enable Actions in your repository settings, and fetch this Action from the YunoHost-Apps organization. +# This file should be enough by itself, but feel free to tune it to your needs. +# It calls updater.sh, which is where you should put the app-specific update steps. +name: Check for new upstream releases +on: + # Allow to manually trigger the workflow + workflow_dispatch: + # Run it every day at 6:00 UTC + schedule: + - cron: '0 6 * * *' +jobs: + updater: + runs-on: ubuntu-latest + steps: + - name: Fetch the source code + uses: actions/checkout@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: Run the updater script + id: run_updater + run: | + # Setting up Git user + git config --global user.name 'yunohost-bot' + git config --global user.email 'yunohost-bot@users.noreply.github.com' + # Run the updater script + /bin/bash .github/workflows/updater.sh + - name: Commit changes + id: commit + if: ${{ env.PROCEED == 'true' }} + run: | + git commit -am "Upgrade to v$VERSION" + - name: Create Pull Request + id: cpr + if: ${{ env.PROCEED == 'true' }} + uses: peter-evans/create-pull-request@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update to version ${{ env.VERSION }} + committer: 'yunohost-bot ' + author: 'yunohost-bot ' + signoff: false + base: testing + branch: ci-auto-update-v${{ env.VERSION }} + delete-branch: true + title: 'Upgrade to version ${{ env.VERSION }}' + body: | + Upgrade to v${{ env.VERSION }} + [See upstream release page](https://github.com/${{ env.REPO }}/releases/tag/v${{ env.VERSION }}) + draft: false