Local repository returns 4 digit version when 2 or 3 digit is in use
See original GitHub issuePrerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
Create a local repository and save a few packages with a 2 or 3 digit version number. Then try running Find-PSResource
and you’ll notice that 0
get added.
Expected behavior
Find-PSResource AnyPackage -Repository Local
Name Version Prerelease Repository Description
---- ------- ---------- ---------- -----------
AnyPackage 0.1.0 Local Use various package managers with a single set of commands.
Actual behavior
Find-PSResource AnyPackage -Repository Local
Name Version Prerelease Repository Description
---- ------- ---------- ---------- -----------
AnyPackage 0.1.0.0 Local Use various package managers with a single set of commands.
Error details
No response
Environment data
beta20
7.4-preview3
Visuals
No response
Issue Analytics
- State:
- Created 4 months ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Local repository returns 4 digit version when 2 or 3 digit ...
Create a local repository and save a few packages with a 2 or 3 digit version number. Then try running Find-PSResource and you'll...
Read more >How to manage the version number in Git?
Every new commit after this will auto-increment tag by appending commit number and commit hash. This can be viewed using the git describe ......
Read more >When to increment build number?
So do we need to increment the build number when the source code changes? No, you need to increment it when you build...
Read more >Maven Snapshot Repository vs Release ...
A Maven repository holds a collection of pre-compiled artifacts that we can use in our application as dependencies.
Read more >7. Releasing and versioning
Versioning is the process of adding unique identifiers to different versions of your package. The unique identifier you use may be name-based or ......
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
Sure, however I’m running 3.0.19 as Find-PSResource is broken in 20 and 21 due to the “Object reference not set to an instance of an object.” #1054
Hopefully this is already be solved in 21/22 but I cannot test it 😃
The Pester example in the third to last comment seems to be resolved now, I’m no longer able to repro.
Tried saving some 3 digit versions of packages into a local repository and calling
Find-PSResource
on them but this also no longer seems to be reproducing. If this is still an issue with the release of PSResourceGet 0.5.23-beta23 feel free to comment again here or open a new issue.