1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/uptime-kuma_ynh.git synced 2024-10-01 13:34:58 +02:00

Merge pull request #60 from YunoHost-Apps/testing

Upgrade to 1.20.2 and fix #59
This commit is contained in:
Hadrien 2023-03-12 15:32:43 +01:00 committed by GitHub
commit 484a6b1268
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 12 deletions

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Fetch the source code - name: Fetch the source code
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Run the updater script - name: Run the updater script
@ -33,7 +33,7 @@ jobs:
- name: Create Pull Request - name: Create Pull Request
id: cpr id: cpr
if: ${{ env.PROCEED == 'true' }} if: ${{ env.PROCEED == 'true' }}
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update to version ${{ env.VERSION }} commit-message: Update to version ${{ env.VERSION }}

View file

@ -30,7 +30,7 @@ It is a self-hosted monitoring tool like "Uptime Robot".
- Certificate Info - Certificate Info
**Shipped version:** 1.20.1~ynh1 **Shipped version:** 1.20.2~ynh1
**Demo:** https://demo.uptime.kuma.pet **Demo:** https://demo.uptime.kuma.pet

View file

@ -30,7 +30,7 @@ It is a self-hosted monitoring tool like "Uptime Robot".
- Certificate Info - Certificate Info
**Version incluse :** 1.20.1~ynh1 **Version incluse :** 1.20.2~ynh1
**Démo :** https://demo.uptime.kuma.pet **Démo :** https://demo.uptime.kuma.pet

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.20.1.tar.gz SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.20.2.tar.gz
SOURCE_SUM=c1125217d17538899842f640e9b00db6979854552858d79a5e05a64e5cda3b26 SOURCE_SUM=9febdad8bb24caee012a0c79cada6aace88ad3859cf94218512df987ecda009f
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=1.20.1.tar.gz SOURCE_FILENAME=1.20.2.tar.gz
SOURCE_EXTRACT=true SOURCE_EXTRACT=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/louislam/uptime-kuma/releases/download/1.20.1/dist.tar.gz SOURCE_URL=https://github.com/louislam/uptime-kuma/releases/download/1.20.2/dist.tar.gz
SOURCE_SUM=1683a8e86c05cab905cd7efa41089d072dd60dc1d695c3f0761f9c8de86f4fb8 SOURCE_SUM=41f0fe9f1d9ec432c98e8bce2f25b59dd61c11f774bd2ad53d5cec1d795fd782
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Self-hosted monitoring tool like Uptime-Robot", "en": "Self-hosted monitoring tool like Uptime-Robot",
"fr": "Outil de surveillance auto-hébergé similaire à 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/", "url": "https://github.com/louislam/uptime-kuma/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -65,11 +65,11 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # 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 # Download, check integrity, uncompress and patch the source from dist.src
ynh_setup_source --source_id="dist" --dest_dir="$final_path/dist" ynh_setup_source --source_id="dist" --dest_dir="$final_path/dist"
fi fi
chmod 750 "$final_path" chmod 750 "$final_path"