Add resolveVersion for TYPE=CURSEFORGE (#2237)

This commit is contained in:
Geoff Bourne 2023-06-18 19:58:29 -05:00 committed by GitHub
parent e5fe913a74
commit b615dbf6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ loadForgeVars() {
isDebugging && set -x
if [[ ${VERSION^^} == LATEST ]]; then
log "WARNING for the old TYPE=CURSEFORGE mechanism it is best to set VERSION to a specific value"
fi
resolveVersion
: "${FTB_BASE_DIR:=${CF_BASE_DIR:-/data/FeedTheBeast}}"
export FTB_BASE_DIR