Merge pull request #2833 from tig/v1_14_0-pre

Releasing v1.14.0-pre.x as a test

+semver: minor
This commit is contained in:
Tig
2023-08-28 07:16:35 -06:00
committed by GitHub
8 changed files with 40 additions and 19 deletions

View File

@@ -12,24 +12,40 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 #fetch-depth is needed for GitVersion
# - name: Install and calculate the new version with GitVersion
# uses: gittools/actions/gitversion/setup@v0
# with:
# versionSpec: '6.x'
# includePrerelease: true
# - name: Determine Version
# uses: gittools/actions/gitversion/execute@v0
# with:
# useConfigFile: true
# id: gitversion # step id used as reference for output values
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
dotnet-quality: 'ga'
- name: Install dependencies
run: |
dotnet restore
- name: Build Debug
run: dotnet build --configuration Debug --no-restore
run: |
#dotnet-gitversion /updateprojectfiles
dotnet build --configuration Debug --no-restore
- name: Test
run: |
sed -i 's/"stopOnFail": false/"stopOnFail": true/g' UnitTests/xunit.runner.json

View File

@@ -21,17 +21,21 @@ jobs:
- name: Install and calculate the new version with GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: 5.x
versionSpec: '6.x'
includePrerelease: true
- name: Determine Version
uses: gittools/actions/gitversion/execute@v0
with:
useConfigFile: true
id: gitversion # step id used as reference for output values
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
dotnet-quality: 'ga'
- name: Install dependencies
run: dotnet restore

View File

@@ -4,10 +4,10 @@
<TargetFramework>net7.0</TargetFramework>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- Do not modify these. -->
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<!--<AssemblyVersion>1.14.0.0</AssemblyVersion>
<FileVersion>1.14.0.0</FileVersion>
<Version>1.14.0</Version>
<InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
<Version>1.14.0-pre0001</Version>
<InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>-->
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />

View File

@@ -4,8 +4,8 @@
<TargetFramework>net6.0</TargetFramework>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<FileVersion>1.14.0.0</FileVersion>
<InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
<Version>1.14.0</Version>
<InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>
<Version>1.14.0-pre0001</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />

View File

@@ -4,10 +4,10 @@
<TargetFramework>net7.0</TargetFramework>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- Do not modify these. -->
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<!--<AssemblyVersion>1.14.0.0</AssemblyVersion>
<FileVersion>1.14.0.0</FileVersion>
<Version>1.14.0</Version>
<InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
<Version>1.14.0-pre0001</Version>
<InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>-->
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ReactiveUI.Fody" Version="19.4.1" />

View File

@@ -10,6 +10,7 @@
<InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
<PackageVersion>$(Version)</PackageVersion>
<Version>1.14.0</Version>-->
</PropertyGroup>
<!-- =================================================================== -->
<!-- .NET Build Settings -->

View File

@@ -7,10 +7,10 @@
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- Do not modify these. -->
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<!--<AssemblyVersion>1.14.0.0</AssemblyVersion>
<FileVersion>1.14.0.0</FileVersion>
<Version>1.14.0</Version>
<InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
<Version>1.14.0-pre0001</Version>
<InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE</DefineConstants>

View File

@@ -8,10 +8,10 @@
<UseDataCollector />
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- Do not modify these. -->
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<!--<AssemblyVersion>1.14.0.0</AssemblyVersion>
<FileVersion>1.14.0.0</FileVersion>
<Version>1.14.0</Version>
<InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
<Version>1.14.0-pre0001</Version>
<InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE</DefineConstants>