浏览代码

Merge branch 'develop' into dependabot/nuget/Microsoft.NET.Test.Sdk-17.7.2

Tig 1 年之前
父节点
当前提交
677e84a3c3

+ 2 - 2
.github/workflows/publish.yml

@@ -21,14 +21,14 @@ jobs:
     - name: Install GitVersion 
       uses: gittools/actions/gitversion/setup@v0
       with:
-          versionSpec: '6.x'
+          versionSpec: '5.x'
           includePrerelease: true
 
     - name: Determine Version
       uses: gittools/actions/gitversion/execute@v0
       with:
         useConfigFile: true
-        #additionalArguments: /verbosity Diagnostic
+        #additionalArguments: /b develop
       id: gitversion # step id used as reference for output values
 
     - name: Setup dotnet

+ 2 - 4
Example/Example.csproj

@@ -4,10 +4,8 @@
     <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>
-    <FileVersion>1.14.0.0</FileVersion>
-    <Version>1.14.0-pre0001</Version>
-    <InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>-->
+    <FileVersion>1.0.0.0</FileVersion>
+    <Version>1.0.0</Version>
   </PropertyGroup>
   <ItemGroup>
     <ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />

+ 4 - 3
GitVersion.yml

@@ -1,12 +1,14 @@
 mode: ContinuousDeployment
 tag-prefix: '[vV]'
 continuous-delivery-fallback-tag: pre
-next-version: 1.14.0
 branches:
   develop:
     mode: ContinuousDeployment
     tag: pre
-    regex: ^develop?[/-]
+    regex: develop
+    source-branches:
+    - main
+    pre-release-weight: 100
   main:
     tag: rc
     increment: Patch
@@ -24,4 +26,3 @@ branches:
     increment: Inherit
 ignore:
   sha: []
-merge-message-formats: {}

+ 2 - 6
Terminal.Gui/Terminal.Gui.csproj

@@ -5,12 +5,8 @@
   <!-- GitVersion.xml controls settings  -->
   <!-- =================================================================== -->
   <PropertyGroup>
-    <!--<AssemblyVersion>1.14.0.0</AssemblyVersion>
-    <FileVersion>1.14.0.0</FileVersion>
-    <InformationalVersion>1.14.0+Branch.v1-develop-branching-update.Sha.f47377ce8ba5a97f2f84c745eca04c336b094e96</InformationalVersion>
-    <PackageVersion>$(Version)</PackageVersion>
-    <Version>1.14.0</Version>-->
-
+    <FileVersion>1.0.0.0</FileVersion>
+    <Version>1.0.0</Version>
   </PropertyGroup>
   <!-- =================================================================== -->
   <!-- .NET Build Settings -->

+ 2 - 4
UICatalog/UICatalog.csproj

@@ -7,10 +7,8 @@
     <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>
-    <FileVersion>1.14.0.0</FileVersion>
-    <Version>1.14.0-pre0001</Version>
-    <InformationalVersion>1.14.0-pre.1+Branch.develop.Sha.e0b7464669ef87b96b57f2285200e02bcf85d0e7</InformationalVersion>-->
+    <FileVersion>1.0.0.0</FileVersion>
+    <Version>1.0.0</Version>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
     <DefineConstants>TRACE</DefineConstants>

+ 2 - 4
UnitTests/UnitTests.csproj

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