Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 07:50
    gep13 commented #2019
  • 07:42
    casz commented #2019
  • 07:18
    casz commented #2019
  • 07:18
    casz reopened #2019
  • 07:17
    casz closed #2058
  • 07:17
    casz commented #2058
  • 06:44
    casz commented #2058
  • 06:44
    casz synchronize #2058
  • 06:38
    casz commented #2058
  • 06:31
    casz opened #2058
  • 06:30
    casz closed #2019
  • 06:30
    casz commented #2019
  • 06:26
    casz commented #2019
  • 06:26
    casz synchronize #2019
  • 05:17
    casz synchronize #2019
  • 00:49
    wpschaub edited #2057
  • 00:48
    wpschaub opened #2057
  • Jan 20 23:09
    asbjornu commented #2049
  • Jan 20 23:05
    asbjornu commented #2034
  • Jan 20 23:02
    dsbut opened #2056
Rodney Littles II
@RLittlesII
@devlead I used hotfix/assets the first push was fine. The second caused an error. I am going to submit an issue with the output.
Rodney Littles II
@RLittlesII
Or maybe I'll update to latest and try again before submitting an issue.
Ryan Peach
@ryanpeach
Does anyone have an example jenkins declarative pipeline using gitversion?
Jericho
@Jericho
I am currently investigating an issue in my build but was hoping someone could share some pointers: I am getting Could not load type AsyncCompletedEventArgs from assembly System.Net.WebHeaderCollection (see build log). This occurs when trying to calculate version.
Jericho
@Jericho
I do not get this exception when running locally:
========================================                                                                                                            
AppVeyor-Build_Number                                                                                                                               
========================================                                                                                                            
Executing task: AppVeyor-Build_Number                                                                                                               
Executing: "D:/_build/Http-Multipart-Data-Parser/tools/GitVersion.CommandLine.5.1.2/tools/GitVersion.exe" -output buildserver -verbosity Debug      
INFO [11/23/19 17:04:23:08] Working directory: D:\_build\Http-Multipart-Data-Parser                                                                 
INFO [11/23/19 17:04:23:09] IsDynamicGitRepository: False                                                                                           
INFO [11/23/19 17:04:23:11] Returning Project Root from DotGitDirectory: D:\_build\Http-Multipart-Data-Parser\.git\ - D:\_build\Http-Multipart-Data-
Parser\                                                                                                                                             
INFO [11/23/19 17:04:23:11] Running on Windows.                                                                                                     
INFO [11/23/19 17:04:23:11] Project root is: D:\_build\Http-Multipart-Data-Parser\                                                                  
INFO [11/23/19 17:04:23:11] DotGit directory is: D:\_build\Http-Multipart-Data-Parser\.git                                                          
INFO [11/23/19 17:04:23:15] Begin: Loading version variables from disk cache                                                                        
  INFO [11/23/19 17:04:23:16] Begin: Deserializing version variables from cache file D:\_build\Http-Multipart-Data-Parser\.git\gitversion_cache\13BE
269124B2E5D159064440AA6A034F4A59A4A0.yml                                                                                                            
  INFO [11/23/19 17:04:23:21] End: Deserializing version variables from cache file D:\_build\Http-Multipart-Data-Parser\.git\gitversion_cache\13BE26
9124B2E5D159064440AA6A034F4A59A4A0.yml (Took: 58.71ms)                                                                                              
  INFO [11/23/19 17:04:23:22] End: Loading version variables from disk cache (Took: 61.41ms)                                                        
Finished executing task: AppVeyor-Build_Number
Artur
@arturcic
@Jericho there is an open issue related GitTools/GitVersion#1873
Jericho
@Jericho
@arturcic thanks. I'll add comment to the issue
Nikita Kazachkov
@NikitaKazachkov_gitlab
Hi! Please tell me how to use GitVersion with GitLab CI? I use nuke-build that wraps GitVersion calls. Not working with GitLab CI:
" > /usr/bin/dotnet /root/.nuget/packages/gitversion.tool/5.1.1/tools/netcoreapp3.0/any/GitVersion.dll
Error parsing Infinity value. Path '', line 1, position 1."
Karim Garza
@karimgarza
Has anybody been able to run Gitversion in Centos 7? I downloaded the binary but it does not run and it throws this error "The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception."
Artur
@arturcic
Which version have you installed?
Karim Garza
@karimgarza
@arturcic 5.1.1 and 5.1.2
Artur
@arturcic
which executable? is it global tool?
is that what you are asking for /.
i have dotnet --version "3.0.101"
Artur
@arturcic
if you use that, how do you run it?
Karim Garza
@karimgarza
from within the directory of my application i just run ./GitVersion
Artur
@arturcic
hmm
intereseting
can you also try the global tool?
Karim Garza
@karimgarza
where is that ?
how do i do that
Karim Garza
@karimgarza
Great! that works
Artur
@arturcic
great
Karim Garza
@karimgarza
i did not know that existed
thakn you
Artur
@arturcic
you're welcome
Nikita Kazachkov
@NikitaKazachkov_gitlab
Does GitVersion work with dotnet cli?
There is an example of using GitLab?
Simon Novak
@snovak7
GitVersionTask nuget package tags the binaries
But disable automatic assembly generation
AssemblyInfo that is
Mattias Karlsson
@devlead
@NikitaKazachkov_gitlab yes, use GitVersion tool with .NET Core CLI
https://www.nuget.org/packages/GitVersion.Tool/
Josh Close
@JoshClose
I'm running nuke.build on TeamCity and am getting this error from GitVersion:
Error parsing Infinity value. Path '', line 1, position 1.
this is on ubuntu 18
Mateusz Jędrzejewski
@matilote
Hi there, quick question. Does GitVersion support any arm64 platform?
error : PlatformNotSupportedException: ubuntu.18.04-arm64
Matthias Koch
@matkoch
GitVersion 5.1.2 and 5.1.3 are putting the executable in different directories, netcoreapp3.0 and netcoreapp3.1. This is not really compliant with semantic versioning.
For simplicity I think you would do better to keep putting them into x.0 ... afaik the runtime can execute any of the other minor-compiled executables.
And on another note, what about GitTools/GitVersion#2000 ? This blew up so many times recently for various reasons.
Bastian Schmidt
@batzen
Hi there.
I just added GitVersionTask to my project.
Everything works fine on my machine but on appveyor i getC:\Users\appveyor\.nuget\packages\gitversiontask\5.1.3\build\GitVersionTask.targets(10,9): error : FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (0x80131621)
Anyone knows why that only happens on appveyor and what i am doing wrong?
Simon Novak
@snovak7
What if you add explicit reference to 12 in csproj?
Bastian Schmidt
@batzen
I added no reference to newtonsoft as my lib does not need it and gitversiontask is supposed to be a build task or?
Simon Novak
@snovak7
Yes, but you could add build type reference
CI environments are isolated so you don’t packages preinstalled, like on local computer
If you have other projects which use newtonsoft.json
Have*
Bastian Schmidt
@batzen
Tried that just now. Didn't help...