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.

Creating a custom version scheme (e.g. namespaced tags)

See original GitHub issue

We are currently using conventional-changelog “as is”, which means it creates version tags in the scheme of major.minor.patch, but in the current deployment pipeline we need to namespace/prefix the version number like so: frontend/customer-ui/1.2.3

I successfully changed the git tagging to the latter, but conventional-changelog still tries to compare un-namespaced versions 1.2.3.

Are the previousTag and currentTag options the key?

Can anyone give an advice on how to configure and use that?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
zry754331875commented, Dec 27, 2019

@krnlde I have the same needs as you, and your problem can be solved by tagPrefix. But my problem is that the tag ‘1.3.0.20191226’ I defined is not a Semver Tag, which caused conventionalChangelog to be generated from the first commit. How to support custom tags? Or how to rewrite the comparison method?

0reactions
krnldecommented, Apr 11, 2016

Are there any further suggestions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specifying Your Project's Version - Setuptools
Setuptools can work well with most versioning schemes. ... Pre-release tags make a version be considered older than the version they are appended...
Read more >
Versioning NWB:N Specification Namespaces - NDX Catalog
NWB:N uses semantic versioning for format specifications. Versions are assigned on a namespace level and are stored in the version key of the ......
Read more >
pypa/setuptools_scm: the blessed package to ... - GitHub
the blessed package to manage your versions by scm tags - GitHub - pypa/setuptools_scm: the blessed package to manage your versions by scm...
Read more >
Tags and Tag Namespace Concepts - Oracle Help Center
By creating and applying tags, you can retrieve lists of resources tagged with specific keys from any service that supports tagging.
Read more >
Standard way to embed version into Python package?
You should also make sure that the version number conforms to the format ... a namespace package, the module SHOULD include the __version__...
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