File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ branches:
5
5
- develop
6
6
install :
7
7
- cinst gitversion.portable -y
8
+ - ps : dotnet tool install --global dotnet-setversion
8
9
before_build :
9
10
- nuget restore
10
11
- ps : $env:VERSION=$(gitversion /showvariable NuGetVersionV2)
11
12
build_script :
12
13
- ps : dotnet restore
13
- - ps : cd src/AsyncEvent; dotnet setversion $env:VERSION; cd ../..
14
+ - ps : cd src/AsyncEvent; setversion $env:VERSION; cd ../..
14
15
- ps : dotnet build
15
16
- ps : dotnet pack --include-source --include-symbols -c Release -o out/
16
17
test_script :
Original file line number Diff line number Diff line change 11
11
<RepositoryType >git</RepositoryType >
12
12
<RepositoryUrl >https://github.com/TAGC/AsyncEvent</RepositoryUrl >
13
13
</PropertyGroup >
14
- <ItemGroup >
15
- <DotNetCliToolReference Include =" dotnet-setversion" Version =" *" />
16
- </ItemGroup >
17
14
</Project >
You can’t perform that action at this time.
0 commit comments