From 49087fb027dc973fd73f667d41b9a9972be9dfe3 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sat, 27 Apr 2024 19:55:33 +0300 Subject: [PATCH] chg - Finalized the D.B.props file --- Type: chg Breaking: False Doc Required: False Part: 1/1 --- Directory.Build.props | 23 +++++++++++++++++++ GRILO.Boot/GRILO.Boot.csproj | 15 ------------ .../GRILO.BootableAppDemo.csproj | 13 ++--------- GRILO.Bootloader/GRILO.Bootloader.csproj | 17 -------------- tools/docgen-pack.cmd | 3 ++- tools/docgen-pack.sh | 2 +- tools/version | 1 - 7 files changed, 28 insertions(+), 46 deletions(-) create mode 100644 Directory.Build.props delete mode 100644 tools/version diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..7b2b875 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,23 @@ + + + 1.3.0 + Aptivi + GRILO + Aptivi + Copyright (c) 2022-2024 Aptivi + latest + portable + True + $(MSBuildThisFileDirectory) + $(RootPath)\aptivi_snk.snk + + + + true + true + + + + + + diff --git a/GRILO.Boot/GRILO.Boot.csproj b/GRILO.Boot/GRILO.Boot.csproj index 68438c2..8bd7a93 100644 --- a/GRILO.Boot/GRILO.Boot.csproj +++ b/GRILO.Boot/GRILO.Boot.csproj @@ -7,11 +7,7 @@ True snupkg 0.1.0.4 - 0.1.0.4 - Aptivi - GRILO Bootloader simulator for .NET - Copyright (c) 2022 Aptivi https://github.com/Aptivi/GRILO OfficialAppIcon-GRILO-512.png README.md @@ -20,8 +16,6 @@ bootloader;boot;csharp;dotnet GPL-3.0-or-later True - True - ..\aptivi_snk.snk @@ -38,13 +32,4 @@ - - true - true - - - - - - diff --git a/GRILO.BootableAppDemo/GRILO.BootableAppDemo.csproj b/GRILO.BootableAppDemo/GRILO.BootableAppDemo.csproj index 5bf54e4..a9ce347 100644 --- a/GRILO.BootableAppDemo/GRILO.BootableAppDemo.csproj +++ b/GRILO.BootableAppDemo/GRILO.BootableAppDemo.csproj @@ -3,12 +3,12 @@ Exe net8.0;net48 - True - ..\aptivi_snk.snk + + @@ -17,13 +17,4 @@ - - true - true - - - - - - diff --git a/GRILO.Bootloader/GRILO.Bootloader.csproj b/GRILO.Bootloader/GRILO.Bootloader.csproj index 434c876..29d8929 100644 --- a/GRILO.Bootloader/GRILO.Bootloader.csproj +++ b/GRILO.Bootloader/GRILO.Bootloader.csproj @@ -8,12 +8,7 @@ True True snupkg - 1.3.0 - 1.3.0 - Aptivi - GRILO Bootloader simulator for .NET - Copyright (c) 2022 Aptivi https://github.com/Aptivi/GRILO OfficialAppIcon-GRILO-512.png README.md @@ -22,9 +17,6 @@ bootloader;boot;csharp;dotnet GPL-3.0-or-later True - latest - True - ..\aptivi_snk.snk @@ -56,13 +48,4 @@ - - true - true - - - - - - diff --git a/tools/docgen-pack.cmd b/tools/docgen-pack.cmd index eafff60..28e3a14 100644 --- a/tools/docgen-pack.cmd +++ b/tools/docgen-pack.cmd @@ -1,7 +1,8 @@ @echo off REM This script builds KS documentation and packs the artifacts. Use when you have VS installed. -for /f "tokens=* USEBACKQ" %%f in (`type version`) do set ksversion=%%f +for /f "tokens=*" %%g in ('findstr "" ..\Directory.Build.props') do (set MIDVER=%%g) +for /f "tokens=1 delims=<" %%a in ("%MIDVER:~9%") do (set ksversion=%%a) :pack echo Packing documentation... diff --git a/tools/docgen-pack.sh b/tools/docgen-pack.sh index 7ac1782..3eea554 100644 --- a/tools/docgen-pack.sh +++ b/tools/docgen-pack.sh @@ -1,7 +1,7 @@ #!/bin/bash # This script builds KS and packs the artifacts. Use when you have MSBuild installed. -ksversion=$(cat version) +ksversion=$(grep "" ../Directory.Build.props | cut -d "<" -f 2 | cut -d ">" -f 2) # Check for dependencies zippath=`which zip` diff --git a/tools/version b/tools/version deleted file mode 100644 index f0bb29e..0000000 --- a/tools/version +++ /dev/null @@ -1 +0,0 @@ -1.3.0