Removed redundant publish command

This commit is contained in:
Stuart Lang 2017-01-29 23:54:07 +00:00 committed by Stuart Lang
parent c95061d5db
commit 6a6db5d856
3 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,2 @@
dotnet restore
dotnet publish -c release
dotnet lambda package --configuration release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip
dotnet restore
dotnet lambda package --configuration release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip

View File

@ -2,5 +2,4 @@
#build handlers
dotnet restore
dotnet publish -c release
dotnet lambda package --configuration release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip
dotnet lambda package --configuration release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip

View File

@ -9,7 +9,7 @@ function integration-test {
}
integration-test aws-csharp 'apt-get -qq update && apt-get -qq -y install zip && dotnet restore && dotnet lambda package --configuration release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip'
integration-test aws-fsharp 'dotnet restore && dotnet publish -c release && dotnet lambda package --configuration Release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip'
integration-test aws-fsharp 'dotnet restore && dotnet lambda package --configuration release --framework netcoreapp1.0 --output-package bin/release/netcoreapp1.0/deploy-package.zip'
integration-test aws-groovy-gradle ./gradlew build
integration-test aws-java-gradle ./gradlew build
integration-test aws-java-maven mvn package