improve: better version control
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1">
|
<Project Sdk="Microsoft.Build.NoTargets/2.0.1">
|
||||||
<Import Project="Sdk/VersionInfo.props" />
|
<Import Project="VersionInfo.props" Condition="Exists('VersionInfo.props')" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Sdk/**/*" Pack="true" PackagePath="Sdk" />
|
<None Include="Sdk/**/*" Pack="true" PackagePath="Sdk" />
|
||||||
|
<None Include="VersionInfo.props" Pack="true" PackagePath="Sdk" Condition="Exists('VersionInfo.props')" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Target Name="GetGodotSdk" BeforeTargets="CoreCompile" >
|
<Target Name="GetGodotSdk" BeforeTargets="CoreCompile" >
|
||||||
<RemoveDir Directories="Sdk/GodotSdk" Condition="Exists('Sdk/GodotSdk')" />
|
<RemoveDir Directories="Sdk/GodotSdk" Condition="Exists('Sdk/GodotSdk')" />
|
||||||
|
|||||||
@@ -2,14 +2,6 @@
|
|||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Polonium.Sdk", "Polonium.Sdk.csproj", "{2637A20D-9358-4010-B767-9569906194DC}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Polonium.Sdk", "Polonium.Sdk.csproj", "{2637A20D-9358-4010-B767-9569906194DC}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Polonium", "..\Polonium\Polonium.csproj", "{D1A52D2F-A754-4F24-B949-BD535913D8C4}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Polonium.Tasks", "..\Polonium.Tasks\Polonium.Tasks.csproj", "{906CC276-B1AF-441C-99AB-5B55F69C502E}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Polonium.Generators", "..\Polonium.Generators\Polonium.Generators.csproj", "{1EEAD84F-94F1-49DF-A53A-A7EC6724A3A0}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Polonium.Generators.Test", "..\Polonium.Generators.Test\Polonium.Generators.Test.csproj", "{D1D5E0B1-3FB9-4C6A-B3CB-993A1597AF2A}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -20,21 +12,5 @@ Global
|
|||||||
{2637A20D-9358-4010-B767-9569906194DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{2637A20D-9358-4010-B767-9569906194DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{2637A20D-9358-4010-B767-9569906194DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{2637A20D-9358-4010-B767-9569906194DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{2637A20D-9358-4010-B767-9569906194DC}.Release|Any CPU.Build.0 = Release|Any CPU
|
{2637A20D-9358-4010-B767-9569906194DC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{D1A52D2F-A754-4F24-B949-BD535913D8C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D1A52D2F-A754-4F24-B949-BD535913D8C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{D1A52D2F-A754-4F24-B949-BD535913D8C4}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D1A52D2F-A754-4F24-B949-BD535913D8C4}.Release|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{906CC276-B1AF-441C-99AB-5B55F69C502E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{906CC276-B1AF-441C-99AB-5B55F69C502E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{906CC276-B1AF-441C-99AB-5B55F69C502E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{906CC276-B1AF-441C-99AB-5B55F69C502E}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{1EEAD84F-94F1-49DF-A53A-A7EC6724A3A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{1EEAD84F-94F1-49DF-A53A-A7EC6724A3A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{1EEAD84F-94F1-49DF-A53A-A7EC6724A3A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{1EEAD84F-94F1-49DF-A53A-A7EC6724A3A0}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{D1D5E0B1-3FB9-4C6A-B3CB-993A1597AF2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D1D5E0B1-3FB9-4C6A-B3CB-993A1597AF2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{D1D5E0B1-3FB9-4C6A-B3CB-993A1597AF2A}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D1D5E0B1-3FB9-4C6A-B3CB-993A1597AF2A}.Release|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<GodotSdkVersion>4.4.0-beta.3</GodotSdkVersion>
|
|
||||||
<PoloniumVersion>0.1.1-x</PoloniumVersion>
|
|
||||||
<PoloniumTasksVersion>0.1.1-x</PoloniumTasksVersion>
|
|
||||||
<PoloniumGeneratorsVersion>0.1.1-x</PoloniumGeneratorsVersion>
|
|
||||||
<PoloniumSdkVersion>0.0.1</PoloniumSdkVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
12
publish
Normal file → Executable file
12
publish
Normal file → Executable file
@@ -1,8 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
SCRIPT_DIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")")/
|
||||||
|
LATEST_PACKAGE=$(ls -t "${SCRIPT_DIR}"bin/Debug/Polonium.Sdk.*.nupkg 2>/dev/null | head -n 1)
|
||||||
|
|
||||||
dotnet nuget push "$(ls -t ./bin/Debug/Polonium.*.nupkg | head -n 1)" --source hangman-lab
|
if [[ -z "$LATEST_PACKAGE" ]]; then
|
||||||
|
echo "❌ Error: No .nupkg file found in ${SCRIPT_DIR}/bin/Debug/"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "🚀 Pushing NuGet package: $LATEST_PACKAGE"
|
||||||
|
dotnet nuget push "$LATEST_PACKAGE" --source hangman-lab
|
||||||
|
|
||||||
../Polonium/publish
|
|
||||||
../Polonium.Tasks/publish
|
|
||||||
../Polonium.Generator/publish
|
|
||||||
|
|||||||
Reference in New Issue
Block a user