Skip to content

Commit ab6709a

Browse files
committed
Replace gitversion from chocolatery to dotnet tool
- Chocolatey is down (again!) and we can't have the builds stopped because of that Signed-off-by: José Simões <[email protected]>
1 parent c7f4628 commit ab6709a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ install:
4848
- bundle config --local path vendor/bundle
4949
- gem install bundler --quiet --no-ri --no-rdoc
5050
- gem install github_changelog_generator --quiet --no-ri --no-rdoc
51-
- choco install gitversion.portable -pre -y
51+
# this needs to be replace with the official version and nuget package as soon as it's released
52+
- dotnet tool install -g --version 4.0.0-pullrequest1422-1625 --add-source https://ci.appveyor.com/nuget/gitversion-8nigugxjftrw GitVersion.CommandLine.DotNetCore.Tool
5253
- ps: .\install-vsix-appveyor.ps1
5354

5455
build_script:
@@ -61,7 +62,7 @@ before_build:
6162
6263
nuget restore source\nanoFramework.CoreLibrary.sln
6364
64-
C:\ProgramData\chocolatey\lib\GitVersion.Portable\tools\GitVersion.exe /l console /output buildserver /updateAssemblyInfo "source\nanoFramework.CoreLibrary\System\AssemblyInfo2.cs"
65+
dotnet-gitversion /l console /output buildserver /updateAssemblyInfo "source\nanoFramework.CoreLibrary\System\AssemblyInfo2.cs"
6566
6667
after_deploy:
6768
# for this environment variable to work here it has to be set in AppVeyor UI

0 commit comments

Comments
 (0)