Fix default versions
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ fi
|
||||
if [[ "$TARGET" == "new" ]]; then
|
||||
find "$ROOT" -name ".DS_Store" | xargs rm
|
||||
grunt clean dist
|
||||
s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/"
|
||||
aws s3 sync "$ROOT/" "s3://new.$SITE/" --delete
|
||||
grunt clean build
|
||||
elif [[ "$TARGET" == "promote" ]]; then
|
||||
aws s3 sync "s3://new.$SITE" "s3://$SITE" --delete
|
||||
|
||||
@@ -10,11 +10,11 @@ exports.DefaultMods =
|
||||
minecraft: { defaultVersion: '1.7.10' }
|
||||
applied_energistics_2: { defaultVersion: 'rv1-stable-1' }
|
||||
buildcraft: { defaultVersion: '6.2.6' }
|
||||
enderio: { defaultVersion: '2.2.7.235' }
|
||||
enderio: { defaultVersion: '2.2.7.325' }
|
||||
ic2_classic: { defaultVersion: 'none' }
|
||||
industrial_craft_2: { defaultVersion: '2.2.663' }
|
||||
railcraft: { defaultVersion: '9.5.0' }
|
||||
thermal_expansion: { defaultVersion: '4.0.0B6-23' }
|
||||
thermal_expansion: { defaultVersion: '4.0.0B8-23' }
|
||||
|
||||
exports.Duration = Duration = {}
|
||||
Duration.snap = 200
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = class Storage
|
||||
|
||||
_loadProperty: (key, model, property, defaultValue=null)->
|
||||
loadedValue = @load "#{key}:#{property}"
|
||||
if value?
|
||||
if loadedValue?
|
||||
value = JSON.parse loadedValue
|
||||
else
|
||||
value = defaultValue
|
||||
|
||||
Reference in New Issue
Block a user