Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.0.x"
dotnet-version: "9.0.x"

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v2.0.1
Expand All @@ -36,7 +36,7 @@ jobs:
run: dotnet build Dutchskull.Aspire.AppHost.Unity3D/Dutchskull.Aspire.AppHost.Unity3D/Dutchskull.Aspire.Unity3D.Hosting.csproj --configuration Release --no-restore

- name: Pack
run: dotnet pack Dutchskull.Aspire.AppHost.Unity3D/Dutchskull.Aspire.AppHost.Unity3D/Dutchskull.Aspire.Unity3D.Hosting.csproj --configuration Release --no-restore --output ./nupkg /p:Version=${{ env.major }}.${{ env.minor }}.${{ env.patch }}-alpha${{ env.commitsSinceVersionSource }}
run: dotnet pack Dutchskull.Aspire.AppHost.Unity3D/Dutchskull.Aspire.AppHost.Unity3D/Dutchskull.Aspire.Unity3D.Hosting.csproj --configuration Release --no-restore --output ./nupkg /p:Version=${{ env.fullSemVer }}

- name: Publish to NuGet
run: dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.0" />
<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.1" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>7553225c-d4f5-4cbb-bedd-e1ada381995d</UserSecretsId>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting" Version="9.5.0" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.5.0" />
<PackageReference Include="Aspire.Hosting" Version="9.5.1" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.5.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsAspireSharedProject>true</IsAspireSharedProject>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down Expand Up @@ -29,7 +29,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting" Version="9.5.0" />
<PackageReference Include="Aspire.Hosting" Version="9.5.1" />
<PackageReference Include="System.Management" Version="10.0.0-rc.1.25451.107" />
</ItemGroup>

Expand Down
21 changes: 21 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
mode: ContinuousDeployment
next-version: 9.0.0

branches:
main:
regex: ^main$
label: ''
increment: Minor

develop:
regex: ^develop$
label: alpha
increment: Minor

feature:
regex: ^features?[/-](?<BranchName>.{1,20})
label: '{BranchName}'
increment: Patch
source-branches:
- develop
- main
Loading