File tree Expand file tree Collapse file tree 3 files changed +22
-12
lines changed
MakingSense.AspNetCore.Abstractions
MakingSense.AspNetCore.HypermediaApi Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,33 @@ os: Visual Studio 2019
2
2
3
3
version : 2.2.1-alpha-{build}
4
4
5
+ init :
6
+ - ps : >-
7
+ if ($env:APPVEYOR_REPO_TAG -eq "true")
8
+
9
+ {
10
+ Update-AppveyorBuild -Version $($env:APPVEYOR_REPO_TAG_NAME.TrimStart('v'))
11
+ }
12
+
13
+ dotnet_csproj :
14
+ patch : true
15
+ file : ' **\*.csproj'
16
+ version : " {version}"
17
+ package_version : " {version}"
18
+ assembly_version : " {version}"
19
+ file_version : " {version}"
20
+ informational_version : " {version}"
21
+
5
22
nuget :
23
+ account_feed : true
6
24
project_feed : true
7
25
8
26
before_build :
9
- - cmd : set DOTNET_ASSEMBLY_FILE_VERSION=%APPVEYOR_BUILD_NUMBER%
10
- - cmd : set DOTNET_BUILD_VERSION=%APPVEYOR_BUILD_NUMBER%
11
27
- ps : dotnet restore
12
28
13
29
artifacts :
14
30
- path : ' **\*.nupkg'
15
31
16
- build_script :
17
- - cmd : dotnet build src/MakingSense.AspNetCore.Abstractions --version-suffix %APPVEYOR_BUILD_NUMBER%
18
- - cmd : dotnet build src/MakingSense.AspNetCore.HypermediaApi --version-suffix %APPVEYOR_BUILD_NUMBER%
19
-
20
- after_build :
21
- - cmd : dotnet pack src/MakingSense.AspNetCore.Abstractions --version-suffix %APPVEYOR_BUILD_NUMBER%
22
- - cmd : dotnet pack src/MakingSense.AspNetCore.HypermediaApi --version-suffix %APPVEYOR_BUILD_NUMBER%
23
-
24
32
notifications :
25
33
- provider : Slack
26
34
auth_token :
Original file line number Diff line number Diff line change 11
11
<PackageLicenseUrl >http://www.gnu.org/licenses/lgpl.html</PackageLicenseUrl >
12
12
<RepositoryType >git</RepositoryType >
13
13
<RepositoryUrl >git://github.com/MakingSense/aspnet-hypermedia-api</RepositoryUrl >
14
- <VersionPrefix >2.2.0-alpha</VersionPrefix >
14
+ <Version >2.2.0-alpha</Version >
15
+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
15
16
</PropertyGroup >
16
17
17
18
<ItemGroup >
Original file line number Diff line number Diff line change 11
11
<PackageLicenseUrl >http://www.gnu.org/licenses/lgpl.html</PackageLicenseUrl >
12
12
<RepositoryType >git</RepositoryType >
13
13
<RepositoryUrl >git://github.com/MakingSense/aspnet-hypermedia-api</RepositoryUrl >
14
- <VersionPrefix >2.2.1-alpha</VersionPrefix >
14
+ <Version >2.2.1-alpha</Version >
15
+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
15
16
</PropertyGroup >
16
17
17
18
<ItemGroup >
You can’t perform that action at this time.
0 commit comments