提交 28dec4ae 编写于 作者: 麦壳饼's avatar 麦壳饼

modify about version

上级 39870408
assembly-versioning-scheme: MajorMinorPatchTag branches:
assembly-file-versioning-scheme: MajorMinorPatchTag master:
mode: ContinuousDeployment regex: master
next-version: 1.0 mode: ContinuousDelivery
patch-version-bump-message: '\+semver:\s?(fix|patch)' tag: ''
branches: {} increment: Patch
ignore: prevent-increment-of-merged-branch-version: true
sha: [] track-merge-target: false
tracks-release-branches: false
is-release-branch: false
release:
regex: releases?[/-]
mode: ContinuousDelivery
tag: beta
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
tracks-release-branches: false
is-release-branch: true
feature:
regex: features?[/-]
mode: ContinuousDelivery
tag: useBranchName
increment: Inherit
prevent-increment-of-merged-branch-version: false
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
pull-request:
regex: (pull|pull\-requests|pr)[/-]
mode: ContinuousDelivery
tag: PullRequest
increment: Inherit
prevent-increment-of-merged-branch-version: false
tag-number-pattern: '[/-](?<number>\d+)[-/]'
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
hotfix:
regex: hotfix(es)?[/-]
mode: ContinuousDelivery
tag: beta
increment: Patch
prevent-increment-of-merged-branch-version: false
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
support:
regex: support[/-]
mode: ContinuousDelivery
tag: ''
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
develop:
regex: dev(elop)?(ment)?$
mode: ContinuousDeployment
tag: unstable
increment: Minor
prevent-increment-of-merged-branch-version: false
track-merge-target: true
tracks-release-branches: true
is-release-branch: false
\ No newline at end of file
...@@ -3,6 +3,13 @@ ...@@ -3,6 +3,13 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework> <TargetFramework>netcoreapp3.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageIconUrl>https://raw.githubusercontent.com/IoTSharp/IoTSharp/master/docs/images/64x64.png</PackageIconUrl>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<Authors>MaiKeBing</Authors>
<Company>IoTSharp</Company>
<Product>IoTSharp</Product>
<PackageProjectUrl>https://github.com/IoTSharp/IoTSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/IoTSharp/IoTSharp</RepositoryUrl>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" /> <FrameworkReference Include="Microsoft.AspNetCore.App" />
...@@ -16,4 +23,10 @@ ...@@ -16,4 +23,10 @@
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="3.0.0" /> <PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="3.0.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.6.0" /> <PackageReference Include="System.Text.Encoding.CodePages" Version="4.6.0" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="..\LICENSE.txt">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project> </Project>
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
<RepositoryUrl>https://github.com/IoTSharp/IoTSharp</RepositoryUrl> <RepositoryUrl>https://github.com/IoTSharp/IoTSharp</RepositoryUrl>
<PackageTags>Endian;Json;XML</PackageTags> <PackageTags>Endian;Json;XML</PackageTags>
<Copyright>IoTSharp</Copyright> <Copyright>IoTSharp</Copyright>
<PackageIconUrl>https://raw.githubusercontent.com/IoTSharp/IoTSharp/master/docs/images/64x64.png</PackageIconUrl>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<Company>IoTSharp</Company>
<Product>IoTSharp</Product>
<Authors>MaiKeBing</Authors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
...@@ -18,4 +23,11 @@ ...@@ -18,4 +23,11 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" /> <PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="..\LICENSE.txt">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project> </Project>
...@@ -6,7 +6,6 @@ MinimumVisualStudioVersion = 10.0.40219.1 ...@@ -6,7 +6,6 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D5C97089-F896-436D-8E99-27B2E43BC65F}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D5C97089-F896-436D-8E99-27B2E43BC65F}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml appveyor.yml = appveyor.yml
GitVersion.yml = GitVersion.yml
LICENSE = LICENSE LICENSE = LICENSE
README.md = README.md README.md = README.md
roadmap.md = roadmap.md roadmap.md = roadmap.md
......
version: 1.0.{build} version: 0.1.{build}
image: Visual Studio 2019 image: Visual Studio 2019
init: init:
- ps: Install-Product node $env:nodejs_version - ps: Install-Product node $env:nodejs_version
...@@ -12,6 +12,7 @@ dotnet_csproj: ...@@ -12,6 +12,7 @@ dotnet_csproj:
patch: true patch: true
file: '**\*.csproj' file: '**\*.csproj'
version: '{version}' version: '{version}'
version_prefix: '{version}'
package_version: '{version}' package_version: '{version}'
assembly_version: '{version}' assembly_version: '{version}'
file_version: '{version}' file_version: '{version}'
...@@ -23,20 +24,16 @@ install: ...@@ -23,20 +24,16 @@ install:
git submodule sync --recursive git submodule sync --recursive
git submodule update --init --recursive git submodule update --init --recursive
dotnet tool install --global dotnet-zip
dotnet tool install --global dotnet-tarball
dotnet tool install --global dotnet-rpm
dotnet tool install --global dotnet-deb
build_script: build_script:
- cmd: "dotnet msbuild IoTSharp/IoTSharp.csproj /t:CreateDeb /p:TargetFramework=netcoreapp3.0 /p:RuntimeIdentifier=ubuntu.16.04-x64 \n /p:Configuration=Release \ndotnet msbuild IoTSharp/IoTSharp.csproj /t:CreateRpm \n /p:TargetFramework=netcoreapp3.0 /p:RuntimeIdentifier=rhel.7-x64 \n /p:Configuration=Release\ndotnet msbuild IoTSharp/IoTSharp.csproj /t:CreateZip \n /p:TargetFramework=netcoreapp3.0 /p:RuntimeIdentifier=win7-x64 \n /p:Configuration=Release" - cmd: >-
dotnet publish -c Release ./IoTSharp/IoTSharp.csproj
dotnet publish -c Release ./IoTSharp.Edge.ModBus/IoTSharp.Edge.ModBus.csproj
artifacts: artifacts:
- path: IoTSharp\bin\Release\netcoreapp3.0\ubuntu.16.04-x64\*.deb - path: IoTSharp\bin\Release\netcoreapp3.0\publish\
name: IoTSharp.ubuntu name: IoTSharp
- path: IoTSharp\bin\Release\netcoreapp3.0\rhel.7-x64\*.rpm - path: IoTSharp.Extensions\bin\Release\*.nupkg
name: IoTSharp.centos name: IoTSharp.Extensions
- path: IoTSharp\bin\Release\netcoreapp3.0\win7-x64\*.zip - path: IoTSharp.Edge.ModBus\bin\Release\netcoreapp3.0\publish\
name: IoTSharp.win name: IoTSharp.Edge.ModBus
\ No newline at end of file deploy: off
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册