Comments (11)
The PR has not been merged yet
from conventional-changelog-core.
I already checked if git log --decorate --no-color
contains the correct tags and it does. So the issue is not in git-semver-tags
.
from conventional-changelog-core.
Can you provide an easy way to replicate your problem?
from conventional-changelog-core.
I forked standard-version and created two tags without the v
-prefix: https://github.com/SteveVanOpstal/standard-version/releases
When I run node index.js
standard-version creates this compare link:
conventional-changelog/standard-version@2.2.3...v2.2.2
from conventional-changelog-core.
I see what you mean now... context.currentTag
by default is 'v' + context.version
. You could always change the defaults.
from conventional-changelog-core.
The changelog is generated before you tag it. That means it doesn't know what you're gonna tag it. You could tag it as anything basically. It's not recommended to do that.
If you really want to do that and doesn't want to change context.currentTag
manually, you could generate the changelog after you tag it.
from conventional-changelog-core.
The main reason why I have non-v-prefixed tags is because I have set up my project similarly as the angular project. There was also a recent addition to semver that made me lean more towards non-v-prefixed tags:
https://github.com/mojombo/semver/blob/master/semver.md#is-v123-a-semantic-version
However, for my convenience and also because I just discovered the pretty awesome standard-version repository, I can drop my autistic ideas and go for v-prefixed tags.
from conventional-changelog-core.
All defaults are meant to be configurable. But using them is highly recommended. Maybe the default v
should be depending on the previous tag?
from conventional-changelog-core.
Seems like a good solution. The only situation that is not covered is when a repository moves from one prefix type to the another, but this is something that probably won't happen often and it is very easy to fix manually, and only needs to be fixed once. Are there any other situations/prefixes we should consider though?
from conventional-changelog-core.
Are there any other situations/prefixes we should consider though?
I can't think of any.
from conventional-changelog-core.
Me neither
from conventional-changelog-core.
Related Issues (13)
- extract detecting default to a seperate module
- wrong default context.linkCompare HOT 1
- Stray "S" included in breaking changes if commit message is spelled "BREAKING CHANGES" HOT 1
- writer not grouping by type when used with `transform` HOT 3
- debug out which package.json is used. HOT 1
- firstCommit or lastCommit should be from the original complete commits
- flow issue HOT 1
- Improve tests HOT 4
- if `options.debug === true`, it should be console.debug HOT 1
- issuePrefixes Parser Option No Longer Respected HOT 3
- No more commit hash links in changelog since version 1.3.3 HOT 2
- Mock git to increase test coverage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conventional-changelog-core.