Comments (8)
Hey @LouisRoselli, thanks for reporting. We'll look into a fix.
from versionize.
@cabauman, I appreciate the fast turn around on this, but the issue is still not fixed.
When running the following commands, I still get the same error in versionize 1.19.1:
versionize --ignore-insignificant-commits --pre-release "alpha"
OR
versionize --pre-release "alpha"
Result:
Semantic versioning conflict: the next version 1.0.0-alpha.0 would be lower than the current version 1.0.0. This can be caused by using a wrong pre-release label or release as version
See this sample repo as example: https://github.com/LouisRoselli/Versionize-Test
from versionize.
Alright, I'll take another look. The snippet that uses ignore-insignificant-commits
is expected to fail, but not the other one.
from versionize.
There are no tags in the repo you shared but I assume you have a v1.0.0 tag locally on that release commit?
from versionize.
@cabauman sorry about that. I pushed the tags, and yes it's v1.0.0
from versionize.
Well, that's odd. I got the correct result.
from versionize.
@cabauman I figured it out. A total rookie mistake on my part. It turns out I had Versionize installed globally with the --global option in "dotnet tools", and also locally by specifying it in the manifest file in the repo. The local version was on the newest, but the global installed on my machine was on an older version.
Sorry for the confusion, but this is working as expected. Thank You!!!!
from versionize.
Awesome! Thanks again for the bug report and the update. We didn't have a test case for that scenario, but we do now.
from versionize.
Related Issues (20)
- Use ISO-8601 dates in the changelog HOT 1
- feature: additional flags (--skip-commit-but-tag, --skip-csproj) HOT 1
- [FR] Add support of --allow-different-versions option
- feature request: control naming of version tag (omit ' v' prefix) HOT 6
- AzDo/GitHub/GitLab shouldn't overwrite linkTemplates from .versionize HOT 1
- Add possibility to skip changelog for pre releases HOT 1
- Support dotnet 8.0? HOT 1
- [Bug] Incorrect sort of tags in SemanticVersion GetCurrentVersion() method HOT 1
- Squashing commits on PR results in one change detected HOT 1
- Versionize are making changes when no commits HOT 2
- Use 4 position version
- .NET 7 Support HOT 2
- Bump project with workDir does not work as expected HOT 2
- How does versionize track the version? HOT 3
- Invalid API key in publish.yml HOT 2
- Upgrading from 1.17.0 to 1.17.1 fails git fetch HOT 4
- Directory.Build.targets not supported HOT 3
- Any example for GitLab CI/CD ? HOT 1
- Is there an example of how to use versionize with github/azuredevops action to Auto generate change logs
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 versionize.