Update to GitVersion 2.5.x does not work
See original GitHub issueI am not sure whether to report here or to https://github.com/GitTools/GitVersion.
I try updating GitVersion to 2.5.0 (and 2.5.4; see https://github.com/JabRef/jabref/pull/6147).
After updating, I get that json != json
:
Unhandled exception. GitVersion.Exceptions.WarningException: Value 'json' cannot be parsed as output type, please use 'json' or 'buildserver'
My config is not too complex:
assembly-versioning-format: '{major}.{minor}.{WeightedPreReleaseNumber}'
assembly-informational-format: '{major}.{minor}{PreReleaseTagWithDash}--{CommitDate}--{ShortSha}'
mode: ContinuousDeployment
branches:
master:
regex: ^master
tag: ''
pre-release-weight: 0
Google did not find the exception, so I think, it’s a local issue somehow?
Unhandled exception. GitVersion.Exceptions.WarningException: Value 'json' cannot be parsed as output type, please use 'json' or 'buildserver'
at GitVersion.ArgumentParser.ParseArguments(String[] commandLineArguments) in D:\a\GitVersion\GitVersion\src\GitVersionExe\ArgumentParser.cs:line 320
at GitVersion.Program.<>c__DisplayClass1_0.<CreateHostBuilder>b__2(IServiceProvider sp) in D:\a\GitVersion\GitVersion\src\GitVersionExe\Program.cs:line 28
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
...
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at GitVersion.Program.Main(String[] args) in D:\a\GitVersion\GitVersion\src\GitVersionExe\Program.cs:line 14
at GitVersion.Program.<Main>(String[] args)
(node:2823) UnhandledPromiseRejectionWarning: TypeError: (e || "").replace is not a function
at /home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:5:943
at s.toString (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:5:1005)
at o (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:5:372)
at Object.t.issue (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:5:432)
at c (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:9:741)
at Object.t.setFailed (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:9:1482)
at h.setFailed (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:304:1902)
at Object.<anonymous> (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:332:1542)
at Generator.throw (<anonymous>)
at a (/home/runner/work/_actions/gittools/actions/v0.9/dist/github/gitversion/execute/bundle.js:332:221)
(node:2823) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2823) [DEP0018] DeprecationWarn
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Upgrade git · Issue #10022 · desktop/desktop - GitHub
This issue tracks the investigation to upgrade the version of git that GitHub Desktop is currently using. Current git version As of now ......
Read more >How to update git version from GitHub Desktop on Windows
I install GitHub for desktop and hoped it ships with the most recent version, however git --version returns git version 1.9.5.github.0 . But...
Read more >Version Incrementing - GitVersion
Because GitVersion works with several workflows, the way it does its version incrementing may work perfectly for you, or it may cause you...
Read more >Downloads - Git SCM
Downloads. macOS · Windows · Linux/Unix · Older releases are available and the Git source repository is on GitHub.
Read more >git version 2.5.0+4 - darktable - pixls.us
I installed the git version back in January. It showed as 2.5.0+4 I reinstalled it today (hoping to get the latest development), but...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I took the steps out of README.md:
I thought that
v0.9
was an alias for thev0.9.x
(what other extensions also do). Fixed (refs https://github.com/GitTools/actions/pull/82).Works now.
OMG, for actions/cache, they fucked it up:
Refs https://github.com/actions/cache/issues/241