diff --git a/scripts/deploy b/scripts/deploy index 63fd6ed72..8de412e6e 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -21,6 +21,7 @@ fi if [[ "$TARGET" == "new" ]]; then find "$ROOT" -name ".DS_Store" | xargs rm grunt clean dist + echo "Preparing to upload to S3..." s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/" grunt clean build elif [[ "$TARGET" == "promote" ]]; then diff --git a/src/coffee/models/recipe.coffee b/src/coffee/models/recipe.coffee index 9b906778b..c7dd2d19c 100644 --- a/src/coffee/models/recipe.coffee +++ b/src/coffee/models/recipe.coffee @@ -118,7 +118,6 @@ module.exports = class Recipe extends BaseModel for stack in @output actuallyProduces = not @isPassThroughFor stack.itemSlug @_produces[stack.itemSlug.qualified] = actuallyProduces - @_produces[stack.itemSlug.item] = actuallyProduces return @_produces[itemSlug.qualified] or @_produces[itemSlug.item]