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.

Support custom version tag prefixes for multi-package repositories

See original GitHub issue

Again, let me say how much I love this tool. We’ve been using it for about a month and your responsiveness has been awesome.

One recent thing we’ve come up against is the inability to easily use it on git repos that contain more than one package because of version tag collisions. A common practice when housing more that one package in a single repo is to use a tag pattern like <package>-<version> so that multiple packages can be versioned individually. The problem arrises with auto-changelog when the changelog file is generated, because of the semver.valid() test at https://github.com/CookPete/auto-changelog/blob/b6edd204a38e7eceaaa0c9e71c7e5a9e45cecdf9/src/releases.js#L11.

Have you come up against this or is this use case just not supported?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cookpetecommented, Jan 18, 2018

--tag-prefix and --ignore-commit-pattern added in 1.4.0

0reactions
cookpetecommented, Jan 13, 2018

It should be as simple as installing node.js and then:

# clone and cd into root dir
git clone https://github.com/CookPete/auto-changelog.git # or your own fork
cd auto-changelog

# install dependencies
npm install 

# run tests locally
npm test 

# compile src files to lib
npm run build

# run compiled version locally
node lib/index.js --output custom-output.md 

Just a heads up – I have already added --tag-prefix and --ignore-commit-pattern options, but have not yet pushed/published them. Feel free to play around with things locally though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support version tags with custom prefix or suffix #5780 - GitHub
I would like to track the Swift package version using git tags with a custom prefix, like releases/swift/v1.0.0 . We use this scheme...
Read more >
Untitled
`publish` will help publish any updated packages. ... Example output on a new git repo: ```sh $ lerna init lerna info version v2.0.0...
Read more >
lerna - npm
Lerna is a tool that optimizes the workflow around managing multi-package repositories with git and npm. What does a Lerna repo look like?...
Read more >
Managing releases using Git tags and semantic versioning
Git tags allow you to mark specific commits in your repository as ... examples of simple bash scripts to generate version releases and...
Read more >
DSL2 Modules - nf-core
This is the main script containing the process definition for the module. You will see an extensive number of TODO statements to help...
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