Questions tagged [minver]

7 questions
3
votes
1 answer

Customize version suffix MinVer

I'm using MinVer and can't find how to get the commit height to create a custom version suffix. Ideally I would like to have 1.0.0-preview.{commits} instead of 1.0.0.-preview.0.{commits}. What the zero between the pre-release label and commit height…
joacar
  • 891
  • 11
  • 28
2
votes
1 answer

Unable to build IdentityServer4 on Windows 10 machine

I am getting the error message "exited with code -532462766" when I attempt to build IdentityServer4. The error appears to be happening inside the "MinVer" Nuget package. I downloaded the IdentityServer4 zip file onto a Windows 10 machine from the…
Tom Regan
  • 3,580
  • 4
  • 42
  • 71
1
vote
1 answer

Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 18 declared in library [:flutter_secure_storage]

I downloaded a Flutter project and tried to run it but when I run the project I get the following error message: C:\Users\A\Desktop\flutter_test2\android\app\src\debug\AndroidManifest.xml Error: uses-sdk:minSdkVersion 16 cannot be smaller than…
Hasani
  • 3,543
  • 14
  • 65
  • 125
0
votes
1 answer

Minver not working on Azure devops - sets the default version 0.0.0-alpha.0

When version tag is set on last commit it works ok. But when version tag is set on some of parent commit the resulting version is 0.0.0-alpha.0
raV720
  • 564
  • 3
  • 27
0
votes
1 answer

Configure versioning with nuke

When using cake, I can set which semver part I want updated: var settings = new MinVerSettings(); settings.AutoIncrement = MinVerAutoIncrement.Major; var minver = MinVer(settings); That example is for minver, but the same would apply for nerdbank…
lonix
  • 14,255
  • 23
  • 85
  • 176
0
votes
3 answers

Let a .NET Docker image know its version using docker/build-push-action

I have a .NET 6.0 Web API and want it to know its version. To publish the Docker images I use Github Actions docker/build-push-action@v3.1.0. I tried using MinVer which would exactly meet my needs as it is using the latest git version tag and adds…
Patrick
  • 173
  • 9
0
votes
1 answer

Visual Studio 2022: Warning MINVER1001 not a valid Git working directory. Using default version 0.0.0-alpha.0

How to resolve the following Warning in Microsoft Visual Studio 2022: Warning MINVER1001 '...\Markdig' is not a valid Git working directory. Using default version 0.0.0-alpha.0. Markdig ...\src\Markdig\MinVer 1 Warning: Unable to locate…
Bimo
  • 5,987
  • 2
  • 39
  • 61