mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
core: overwriteable app version (#11753)
* refactor: homepage * add: overwriteable app version var * fix wrong commit * fix: wrong commit * fix: wrong commit * Remove APPLICATION_VERSION export * Change APPLICATION_VERSION to var_appversion
This commit is contained in:
parent
9a95d81f17
commit
773f3f67b8
1 changed files with 2 additions and 2 deletions
|
|
@ -1913,7 +1913,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="${var_appversion:-${4:-latest}}"
|
||||
local target="${5:-/opt/$app}"
|
||||
local asset_pattern="${6:-}"
|
||||
|
||||
|
|
@ -2443,7 +2443,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="${var_appversion:-${4:-latest}}"
|
||||
local target="${5:-/opt/$app}"
|
||||
local asset_pattern="${6:-}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue