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.

Beta tag special treatment

See original GitHub issue

We have a situation like this: image

where we had commit on a hotfix branch tagged as 8.2.2-beta.1 and then merged into develop.

for develop we run this: dotnet minver -a minor -d unstable

Expected version: 8.3.0-unstable.1

Actual result: 8.2.2-beta.1.1

Both -a option and -d options are ignore.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
adamralphcommented, Jun 7, 2020

@maxcherednik FYI I raised a PR to add the tagging option to the FAQ — https://github.com/adamralph/minver/pull/352. Thanks for the suggestion.

1reaction
adamralphcommented, Jun 7, 2020

@maxcherednik to do that, you would have to first decompose the version. This may be done reliably because the version format is deterministic. I don’t know what language you are using to write your build script, but in C# it’s quite easy:

var metaSplit = version.Split('+', 2);
var preSplit = metaSplit[0].Split('-', 2);
var (rtm, preRelease, buildMetadata) =
    (preSplit[0], preSplit.ElementAtOrDefault(1), metaSplit.ElementAtOrDefault(1));
Read more comments on GitHub >

github_iconTop Results From Across the Web

The BETA track™ App | BETASERON® (interferon beta-1b)
BETASERON ® (interferon beta-1b) is a prescription medicine used to treat relapsing forms of multiple sclerosis (MS), to include clinically isolated syndrome, ...
Read more >
BETA track™ on the App Store
The app can only be used by patients who are at least 18 years old and have been prescribed Bayer's treatment for relapsing-remitting...
Read more >
Treatment Strategies Targeting Amyloid β-Protein - PMC
Amino-terminal specific anti-Aβ antibodies reduce neuritic dystrophy as early as 4 days after treatment, with beneficial effects lasting for over a month ...
Read more >
HTRF Tag-lite Beta2 adrenergic receptor fluorescent probe
This Beta adrenergic receptor green antagonist is a (+/-) propranolol derivative labeled with a green emitting HTRF fluorescent probe. This ligand is best ......
Read more >
Recombinant Human PILR-beta His-tag Protein, CF
2 μg/lane of Recombinant Human PILR-beta His-tag Protein (Catalog # 10319-PR) was resolved with SDS-PAGE under reducing (R) and non-reducing (NR) conditions ...
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