add: overwriteable app version var

This commit is contained in:
CrazyWolf13
2026-02-10 10:44:21 +01:00
parent 7d81a301c4
commit ca2f0706d9
2 changed files with 3 additions and 2 deletions

View File

@@ -1890,7 +1890,7 @@ function fetch_and_deploy_codeberg_release() {
local app="$1"
local repo="$2"
local mode="${3:-tarball}" # tarball | binary | prebuild | singlefile | tag
local version="${4:-latest}"
local version="${APPLICATION_VERSION:-${4:-latest}}"
local target="${5:-/opt/$app}"
local asset_pattern="${6:-}"
@@ -2322,7 +2322,7 @@ function fetch_and_deploy_gh_release() {
local app="$1"
local repo="$2"
local mode="${3:-tarball}" # tarball | binary | prebuild | singlefile
local version="${4:-latest}"
local version="${APPLICATION_VERSION:-${4:-latest}}"
local target="${5:-/opt/$app}"
local asset_pattern="${6:-}"