version: 0.2

phases:
  build:
    commands:
      - dotnet restore src/LambdaFunction.sln
      - dotnet publish src/LambdaFunction.sln -c Release
      - zip lambda.zip src/LambdaFunction/bin/Release/netcoreapp1.1/publish/*
      - /root/bin/aws lambda update-function-code --function-name NumbersGame --zip-file fileb://lambda.zip
artifacts:
  files:
    - lambda.zip

version: 0.2

phases:
  build:
    commands:
      - dotnet restore src/LambdaFunction.sln
      - dotnet publish src/LambdaFunction.sln -c Release
      - zip lambda.zip src/LambdaFunction/bin/Release/netcoreapp1.1/publish/*
      - /root/bin/aws lambda update-function-code --function-name NumbersGame --zip-file fileb://lambda.zip

Revert "keep lambda.zip for now"
Revert "keep lambda.zip for now"

This reverts commit 70a761114659b35d1f3458a830f4ebe7a9383b47.
