mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
fix: update release tag handling in install script
- Enhanced the logic for setting the RELEASE_TAG environment variable based on the VERSION_TAG. - Now supports specific version tags (e.g., v0.26.6) by setting RELEASE_TAG to "latest", while other tags (canary, feature/*) are used as-is.
This commit is contained in:
@@ -261,7 +261,11 @@ install_dokploy() {
|
||||
# Installation
|
||||
# Set RELEASE_TAG environment variable for canary/feature versions
|
||||
release_tag_env=""
|
||||
if [ "$VERSION_TAG" != "latest" ]; then
|
||||
if [[ "$VERSION_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||
# Specific version (v0.26.6, v0.26.7, etc.) → latest
|
||||
release_tag_env="-e RELEASE_TAG=latest"
|
||||
elif [ "$VERSION_TAG" != "latest" ]; then
|
||||
# canary, feature/*, etc. → use the tag as-is
|
||||
release_tag_env="-e RELEASE_TAG=$VERSION_TAG"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user