CommunityBot/BuildRun: Difference between revisions Discussion View history

(Created page with "== Stop Running Bot == $ sudo supervisorctl stop communitybot-discord == Download New Code == $ sudo su communitybot $ cd ~/CommunityBot $ git pull == Build New Releas...")
 
Line 14: Line 14:
  Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
  Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
  Copyright (C) Microsoft Corporation. All rights reserved.
  Copyright (C) Microsoft Corporation. All rights reserved.
  WazeBotDiscord -> /home/communitybot/CommunityBot/src/WazeBotDiscord/bin/Release/netcoreapp2.0/WazeBotDiscord.dll
  WazeBotDiscord -> /home/communitybot/CommunityBot/src/WazeBotDiscord/bin/Release/netcoreapp2.0/WazeBotDiscord.dll
  Build succeeded.
  Build succeeded.
     0 Warning(s)
     0 Warning(s)
     0 Error(s)
     0 Error(s)
   Time Elapsed 00:00:02.66
   Time Elapsed 00:00:02.66
 
== Publish New Code ==
== Publish New Code ==



Revision as of 19:35, 26 September 2017

Stop Running Bot

$ sudo supervisorctl stop communitybot-discord

Download New Code

$ sudo su communitybot
$ cd ~/CommunityBot
$ git pull

Build New Release Code

$ cd src/WazeBotDiscord
$ dotnet build -c Release
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
WazeBotDiscord -> /home/communitybot/CommunityBot/src/WazeBotDiscord/bin/Release/netcoreapp2.0/WazeBotDiscord.dll
Build succeeded.
   0 Warning(s)
   0 Error(s)
 Time Elapsed 00:00:02.66

Publish New Code

`publish` creates a standalone directory where the build can be run from $ dotnet publish -c Release

Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core 

Copyright (C) Microsoft Corporation. All rights reserved.

 WazeBotDiscord -> /home/communitybot/CommunityBot/src/WazeBotDiscord/bin/Release/netcoreapp2.0/WazeBotDiscord.dll
 WazeBotDiscord -> /home/communitybot/CommunityBot/src/WazeBotDiscord/bin/Release/netcoreapp2.0/publish/
$