mirror of
https://github.com/YunoHost-Apps/matterbridge_ynh.git
synced 2024-09-03 19:36:24 +02:00
Add autoupdater
This commit is contained in:
parent
87abe76a57
commit
553a3a981f
2 changed files with 10 additions and 7 deletions
13
.github/workflows/updater.sh
vendored
13
.github/workflows/updater.sh
vendored
|
@ -10,7 +10,7 @@
|
||||||
# automatic actions when a new upstream release is detected.
|
# automatic actions when a new upstream release is detected.
|
||||||
|
|
||||||
# Remove this exit command when you are ready to run this Action
|
# Remove this exit command when you are ready to run this Action
|
||||||
exit 1
|
#exit 1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# FETCHING LATEST RELEASE AND ITS ASSETS
|
# FETCHING LATEST RELEASE AND ITS ASSETS
|
||||||
|
@ -67,11 +67,14 @@ echo "Handling asset at $asset_url"
|
||||||
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update)
|
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update)
|
||||||
# Leave $src empty to ignore the asset
|
# Leave $src empty to ignore the asset
|
||||||
case $asset_url in
|
case $asset_url in
|
||||||
*"admin"*)
|
"matterbridge-"*"-linux-64bit")
|
||||||
src="app"
|
src="amd64"
|
||||||
;;
|
;;
|
||||||
*"update"*)
|
"matterbridge-"*"-linux-arm64")
|
||||||
src="app-upgrade"
|
src="arm64"
|
||||||
|
;;
|
||||||
|
"matterbridge-"*"-linux-armv7")
|
||||||
|
src="armhf"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
src=""
|
src=""
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/42wim/matterbridge/releases/download/v1.24.1/matterbridge-1.24.1-linux-armv6
|
SOURCE_URL=https://github.com/42wim/matterbridge/releases/download/v1.24.1/matterbridge-1.24.1-linux-armv7
|
||||||
SOURCE_SUM=96d08c3fe9031b64fae36bc30d6ed8e5fd6440afd37c78f71b8b2685f280bfa5
|
SOURCE_SUM=2ab8e188116ac6f937102e14ff841e73a382dec0f1ace7446d23f2688894ca70
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
SOURCE_FILENAME=matterbridge
|
SOURCE_FILENAME=matterbridge
|
||||||
|
|
Loading…
Add table
Reference in a new issue