diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 6530024..f27a628 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -66,9 +66,6 @@ case $asset_url in *".zip"*) src="app" ;; - *) - src="" - ;; esac # If $src is not empty, let's process the asset @@ -100,7 +97,7 @@ SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=$extension SOURCE_IN_SUBDIR=false SOURCE_EXTRACT=false -SOURCE_FILENAME=yellow.$version.zip +SOURCE_FILENAME=yellow.zip EOT echo "... conf/$src.src updated" @@ -125,7 +122,7 @@ done sudo apt-get install moreutils # Replace new version in manifest -echo "$(jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json)" > manifest.json +jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json | sponge manifest.json # No need to update the README, yunohost-bot takes care of it diff --git a/conf/app.src b/conf/app.src index 1d0cc06..dad5999 100644 --- a/conf/app.src +++ b/conf/app.src @@ -3,4 +3,4 @@ SOURCE_SUM=926887e762133b0d0a48ff74806b8fc46600402d8c87c1d3a9ab6474e952a58f SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=yellow.0.8.17.zip +SOURCE_FILENAME=yellow.zip diff --git a/manifest.json b/manifest.json index bd1de9c..98061e3 100644 --- a/manifest.json +++ b/manifest.json @@ -31,8 +31,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path",