question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version exception

See original GitHub issue

sometime between releases 2.7.34 and the current release, Versioning appears(at least in my case) to be broken. I’ve cloned the repo and taken a look at whats going on behind the scenes. It appears to first version correctly and pack my project into a nuget package successfully. However it then proceeds to run releasify on that nuget package. At which time it calls SemanticVersion.TryParseInternal

On the initial pack command that method is used to verify the version is correct and while debugging i can indeed see my versioning get through validation

When releasify is then ran on the nuget package instead of my version being passed to that command, It seems to duplicate my version with a dash. So, for example, if i provided 1.0.0 what i see come in is actually 1.0.0-1.0.0 this will obviously fail validation and causes builds to not complete.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
caesaycommented, Feb 16, 2022

Yes I was looking at all the First() calls in that function and wondering if that may have been the issue. Thanks for reporting this, I will push an update with a fix soon.

0reactions
caesaycommented, Feb 18, 2022

This has been released in 2.8.1-pre.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VersionMismatchException Class (System.Activities)
Gets or sets the actual version from the mismatch exception. Data. Gets a collection of key/value pairs that provide additional user-defined information about ......
Read more >
Built-in Exceptions — Python 3.11.4 documentation
In Python, all exceptions must be instances of a class that derives from BaseException. ... Changed in version 3.10: Added the name and...
Read more >
VersionNotFoundException Class (System.Data)
Represents the exception that is thrown when you try to return a version of a DataRow that has been deleted. public ref class...
Read more >
How to Fix java.lang.UnsupportedClassVersionError
Learn what causes the "java.lang.UnsupportedClassVersionError: Unsupported major.minor version error" message, and how to fix it.
Read more >
`InvalidVersion` exception when invalid version used on ...
Trying to install certain pip packages like e.g. ssdeep results in an pkg_resources.extern.packaging.version.InvalidVersion exception.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found