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:
commit
484a6b1268
7 changed files with 12 additions and 12 deletions
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue