From 241ce89ac005479550f48238d70d7a7ba106f611 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 24 Feb 2023 00:33:54 +0100 Subject: [PATCH 1/4] [autopatch] Upgrade auto-updater --- .github/workflows/updater.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index fb72ba0..a56d7cb 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch the source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Run the updater script @@ -33,7 +33,7 @@ jobs: - name: Create Pull Request id: cpr if: ${{ env.PROCEED == 'true' }} - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update to version ${{ env.VERSION }} From 9af7d328a470aeb38c62c35b109653f6844c9271 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 27 Feb 2023 06:23:49 +0000 Subject: [PATCH 2/4] Upgrade to v1.20.2 --- conf/app.src | 6 +++--- conf/dist.src | 4 ++-- manifest.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/app.src b/conf/app.src index 41ea0ea..53e1542 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.20.1.tar.gz -SOURCE_SUM=c1125217d17538899842f640e9b00db6979854552858d79a5e05a64e5cda3b26 +SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.20.2.tar.gz +SOURCE_SUM=9febdad8bb24caee012a0c79cada6aace88ad3859cf94218512df987ecda009f SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=1.20.1.tar.gz +SOURCE_FILENAME=1.20.2.tar.gz SOURCE_EXTRACT=true diff --git a/conf/dist.src b/conf/dist.src index 1144827..2671ffc 100644 --- a/conf/dist.src +++ b/conf/dist.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/louislam/uptime-kuma/releases/download/1.20.1/dist.tar.gz -SOURCE_SUM=1683a8e86c05cab905cd7efa41089d072dd60dc1d695c3f0761f9c8de86f4fb8 +SOURCE_URL=https://github.com/louislam/uptime-kuma/releases/download/1.20.2/dist.tar.gz +SOURCE_SUM=41f0fe9f1d9ec432c98e8bce2f25b59dd61c11f774bd2ad53d5cec1d795fd782 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index c10ba18..c724279 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted monitoring tool like Uptime-Robot", "fr": "Outil de surveillance auto-hébergé similaire à Uptime-Robot" }, - "version": "1.20.1~ynh1", + "version": "1.20.2~ynh1", "url": "https://github.com/louislam/uptime-kuma/", "upstream": { "license": "MIT", From 84e239d13c48a59284e2bd70a4c3781acf3d503a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 27 Feb 2023 06:23:54 +0000 Subject: [PATCH 3/4] 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 b26ceb4..32d73a0 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ It is a self-hosted monitoring tool like "Uptime Robot". - Certificate Info -**Shipped version:** 1.20.1~ynh1 +**Shipped version:** 1.20.2~ynh1 **Demo:** https://demo.uptime.kuma.pet diff --git a/README_fr.md b/README_fr.md index 12b3ea9..bca46e7 100644 --- a/README_fr.md +++ b/README_fr.md @@ -30,7 +30,7 @@ It is a self-hosted monitoring tool like "Uptime Robot". - Certificate Info -**Version incluse :** 1.20.1~ynh1 +**Version incluse :** 1.20.2~ynh1 **Démo :** https://demo.uptime.kuma.pet From 1e5496b6437dd8f01afdc785bb0d3ef2ef6ac83e Mon Sep 17 00:00:00 2001 From: Hadrien Date: Sun, 12 Mar 2023 13:47:56 +0100 Subject: [PATCH 4/4] test for #59 bug --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a2fb175..9121fcc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,11 +65,11 @@ ynh_system_user_create --username=$app --home_dir="$final_path" if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep=data/ + ynh_setup_source --source_id="app" --dest_dir="$final_path" # Download, check integrity, uncompress and patch the source from dist.src ynh_setup_source --source_id="dist" --dest_dir="$final_path/dist" + fi chmod 750 "$final_path"