mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
[bug] during the upgrade, unable to detect the target when not explicitly specified
This commit is contained in:
parent
58c9927e65
commit
17ab75cfa5
@ -1,5 +1,7 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: during the upgrade, unable to detect the target when not explicitly specified
|
||||
|
||||
## v5.0.4 2021 June 15
|
||||
|
||||
- Ability to disable the public agenda
|
||||
|
@ -88,7 +88,7 @@ target_version()
|
||||
|
||||
if [[ "$TAG" =~ ^:release-v[\.0-9]+$ ]]; then
|
||||
TARGET=$(echo "$TAG" | grep -Eo '[\.0-9]{5}')
|
||||
elif [ "$TAG" = ":latest" ]; then
|
||||
elif [ "$TAG" = ":latest" ] || [ "$TAG" = "" ]; then
|
||||
TARGET=$(\curl -sSL "https://hub.fab-manager.com/api/versions/latest" | jq -r '.semver')
|
||||
else
|
||||
TARGET='custom'
|
||||
|
Loading…
x
Reference in New Issue
Block a user