Skip to content

Commit

Permalink
0.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
qJake committed Sep 19, 2019
1 parent f19f81b commit a2e9eeb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Docker/BuildHaccContainers.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$version = '0.5.3'
$version = '0.6.0'

function Test-ExitCode ([int] $Expected = 0)
{
Expand Down
12 changes: 10 additions & 2 deletions HADotNet.CommandCenter/HADotNet.CommandCenter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<RuntimeIdentifiers>win10;alpine.3.10-x64;debian.10-arm</RuntimeIdentifiers>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<AssemblyVersion>0.5.2.0</AssemblyVersion>
<FileVersion>0.5.2.0</FileVersion>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<FileVersion>0.6.0.0</FileVersion>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Deterministic>false</Deterministic>
Expand Down Expand Up @@ -84,4 +84,12 @@
<TypeScriptSourceRoot />
</PropertyGroup>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent" Condition="'$(Configuration)' == 'Release' and '$(HACC_PUB_ADDTL)' == 'true'">
<Exec Command="powershell -nologo -noprofile -command rm -force -recurse $(TargetDir)..\*" />
</Target>

<Target Name="PostBuild" AfterTargets="AfterPublish" Condition="'$(Configuration)' == 'Release' and '$(HACC_PUB_ADDTL)' == 'true'">
<Exec Command="powershell -nologo -noprofile -command write-host 'Building .tar.gz release...'; cd $(ProjectDir); Copy-Item .\bin\Release\netcoreapp3.0\publish\wwwroot .\bin\Release\netcoreapp3.0\debian.10-arm\ -Recurse -Force; cd .\bin\Release\netcoreapp3.0\debian.10-arm\; 7z a -ttar HADotNet.CommandCenter-armhf.tar *; 7z a -tgzip HADotNet.CommandCenter-armhf.tar.gz HADotNet.CommandCenter-armhf.tar; Copy-Item HADotNet.CommandCenter-armhf.tar.gz ../../; " />
</Target>

</Project>

0 comments on commit a2e9eeb

Please sign in to comment.