summarylogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorSergio Correia2016-08-30 12:27:05 -0400
committerSergio Correia2016-08-30 12:27:05 -0400
commit712c870f20bf350e724445f6b524db56a67864ef (patch)
treec5894cf1757c6bfb839a2efcb6d91aa9a4ba1a35 /build.sh
parent4fc942735fe0483c41a06b1138cb4cc09ce00d0a (diff)
downloadaur-712c870f20bf350e724445f6b524db56a67864ef.tar.gz
Do not try to publish if build did not suceeed
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 5edcccf95a1c..612d7ddd20a1 100755
--- a/build.sh
+++ b/build.sh
@@ -13,7 +13,6 @@ dotnet run -c Linux ../Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/CorePsT
popd
cd src/powershell-unix
-dotnet build -c Linux
-dotnet publish --no-build -c Linux
+dotnet build -c Linux && dotnet publish --no-build -c Linux
# vim:set ts=2 sw=2 et: