提交 6a3d7ede 编写于 作者: 麦壳饼's avatar 麦壳饼

modify about version

上级 345e4eb0
assembly-versioning-scheme: MajorMinorPatchTag
assembly-file-versioning-scheme: MajorMinorPatchTag
mode: ContinuousDeployment
next-version: 1.0
patch-version-bump-message: '\+semver:\s?(fix|patch)'
branches: {}
ignore:
sha: []
branches:
master:
regex: master
mode: ContinuousDelivery
tag: ''
increment: Patch
prevent-increment-of-merged-branch-version: true
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 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<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>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
......@@ -16,4 +23,10 @@
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="3.0.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.6.0" />
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE.txt">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>
......@@ -7,6 +7,11 @@
<RepositoryUrl>https://github.com/IoTSharp/IoTSharp</RepositoryUrl>
<PackageTags>Endian;Json;XML</PackageTags>
<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>
<ItemGroup>
......@@ -18,4 +23,11 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE.txt">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>
......@@ -6,7 +6,6 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D5C97089-F896-436D-8E99-27B2E43BC65F}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
GitVersion.yml = GitVersion.yml
LICENSE = LICENSE
README.md = README.md
roadmap.md = roadmap.md
......
version: 1.0.{build}
version: 0.1.{build}
image: Visual Studio 2019
init:
- ps: Install-Product node $env:nodejs_version
......@@ -12,6 +12,7 @@ dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
version_prefix: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
......@@ -23,20 +24,16 @@ install:
git submodule sync --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:
- 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:
- path: IoTSharp\bin\Release\netcoreapp3.0\ubuntu.16.04-x64\*.deb
name: IoTSharp.ubuntu
- path: IoTSharp\bin\Release\netcoreapp3.0\rhel.7-x64\*.rpm
name: IoTSharp.centos
- path: IoTSharp\bin\Release\netcoreapp3.0\win7-x64\*.zip
name: IoTSharp.win
\ No newline at end of file
- path: IoTSharp\bin\Release\netcoreapp3.0\publish\
name: IoTSharp
- path: IoTSharp.Extensions\bin\Release\*.nupkg
name: IoTSharp.Extensions
- path: IoTSharp.Edge.ModBus\bin\Release\netcoreapp3.0\publish\
name: IoTSharp.Edge.ModBus
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.
先完成此消息的编辑!
想要评论请 注册