Skip to content

Commit

Permalink
Up-level version to 2.1.0 and ASCOM Library to v2.0.0-rc.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Simpson committed Jan 11, 2024
1 parent fa7ab1b commit 5b633e9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
13 changes: 7 additions & 6 deletions ConformU/ConformU.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<PropertyGroup>
<!-- Set version numbers -->
<ProductMajor>2</ProductMajor>
<ProductMinor>0</ProductMinor>
<ProductPatch>1</ProductPatch>
<ProductMinor>1</ProductMinor>
<ProductPatch>0</ProductPatch>

<!-- Set the pre-release string without a leading minus e.g. rc.1 -->
<ProductPreRelease>rc.8</ProductPreRelease>
<ProductPreRelease></ProductPreRelease>

<!--Create a dynamic revision number based on time of build
Expand Down Expand Up @@ -167,10 +167,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ASCOM.Alpaca.Components" Version="1.0.113-rc.3" />
<PackageReference Include="ASCOM.Com.Components" Version="1.0.113-rc.3" />
<PackageReference Include="ASCOM.Alpaca.Components" Version="2.0.0-rc.2" />
<PackageReference Include="ASCOM.AstrometryTools" Version="2.0.0-rc.2" />
<PackageReference Include="ASCOM.Com.Components" Version="2.0.0-rc.2" />
<PackageReference Include="ASCOM.Exception.Library" Version="7.0.0-rc.16" />
<PackageReference Include="ASCOM.Tools" Version="1.0.113-rc.3" />
<PackageReference Include="ASCOM.Tools" Version="2.0.0-rc.2" />
<PackageReference Include="Blazorise.Bootstrap" Version="1.3.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.3.1" />
<PackageReference Include="Blazorise.TreeView" Version="1.3.1" />
Expand Down
22 changes: 13 additions & 9 deletions publish.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,40 @@ MSBuild ConformU.sln /p:Configuration=Debug /p:Platform="Any CPU" /t:Rebuild
echo *** Completed Build

echo *** Publishing MacOS Intel silicon
dotnet publish -c Debug -p:Platform="Any CPU" -r osx-x64 --framework net 8.0 --self-contained true -p:PublishSingleFile=true -p:PublishReadyToRunShowWarnings=true
dotnet publish -c Debug -p:Platform="Any CPU" -r osx-x64 --framework net8.0 --self-contained true /p:PublishTrimmed=false -p:PublishSingleFile=true -p:PublishReadyToRunShowWarnings=true
bsdtar -cJf publish/conformu.macos-x64.tar.xz -C ConformU\bin\Debug\net 8.0\osx-x64\publish\ *
echo *** Completed MacOS Intel silicon

echo *** Publishing MacOS Apple silicon
dotnet publish -c Debug -p:Platform="Any CPU" -r osx-arm64 --framework net 8.0 --self-contained true -p:PublishSingleFile=true
dotnet publish -c Debug -p:Platform="Any CPU" -r osx-arm64 --framework net8.0 --self-contained true /p:PublishTrimmed=false -p:PublishSingleFile=true
bsdtar -cJf publish/conformu.macos-arm64.tar.xz -C ConformU\bin\Debug\net 8.0\osx-arm64\publish\ *
echo *** Completed MacOS Apple silicon

echo *** Publishing Linux ARM32
dotnet publish -c Debug /p:Platform="Any CPU" -r linux-arm --framework net 8.0 --self-contained true /p:PublishSingleFile=true
dotnet publish -c Debug /p:Platform="Any CPU" -r linux-arm --framework net8.0 --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true
bsdtar -cJf publish/conformu.linux-arm32.needsexec.tar.xz -C ConformU\bin\Debug\net 8.0\linux-arm\publish\ *
echo *** Completed Linux ARM32

echo *** Publishing Linux ARM64
dotnet publish -c Debug /p:Platform="Any CPU" -r linux-arm64 --framework net 8.0 --self-contained true /p:PublishSingleFile=true
dotnet publish -c Debug /p:Platform="Any CPU" -r linux-arm64 --framework net8.0 --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true
bsdtar -cJf publish/conformu.linux-arm64.needsexec.tar.xz -C ConformU\bin\Debug\net 8.0\linux-arm64\publish\ *
echo *** Completed Linux ARM64

echo *** Publishing Linux X64
dotnet publish -c Debug /p:Platform="Any CPU" -r linux-x64 --framework net 8.0 --self-contained true /p:PublishSingleFile=true
dotnet publish -c Debug /p:Platform="Any CPU" -r linux-x64 --framework net8.0 --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true
bsdtar -cJf publish/conformu.linux-x64.needsexec.tar.xz -C ConformU\bin\Debug\net 8.0\linux-x64\publish\ *
echo *** Completed Linux X64

echo *** Publishing Windows 64bit
dotnet publish ConformU/ConformU.csproj -c Debug /p:Platform="Any CPU" -r win-x64 --framework net 8.0-windows --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o ./publish/ConformU64/
echo *** Publishing Windows ARM 64bit
dotnet publish ConformU/ConformU.csproj -c Debug /p:Platform="Any CPU" -r win-arm64 --framework net8.0-windows --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o ./publish/ConformU64/
echo *** Completed 64bit publish

echo *** Publishing Windows 32bit
dotnet publish ConformU/ConformU.csproj -c Debug /p:Platform="Any CPU" -r win-x86 --framework net 8.0-windows --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o ./publish/ConformU86/
echo *** Publishing Windows Intel 64bit
dotnet publish ConformU/ConformU.csproj -c Debug /p:Platform="Any CPU" -r win-x64 --framework net8.0-windows --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o ./publish/ConformU64/
echo *** Completed 64bit publish

echo *** Publishing Windows Intel 32bit
dotnet publish ConformU/ConformU.csproj -c Debug /p:Platform="Any CPU" -r win-x86 --framework net8.0-windows --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o ./publish/ConformU86/
echo *** Completed 32bit publish

editbin /LARGEADDRESSAWARE ./publish/ConformU86/Conformu.exe
Expand Down

0 comments on commit 5b633e9

Please sign in to comment.