rightbrain-networks / auto-semver Goto Github PK
View Code? Open in Web Editor NEWAutomatic semantic versioning through CI/CD
License: Apache License 2.0
Automatic semantic versioning through CI/CD
License: Apache License 2.0
Version of Auto-Semver:
0.6.2
Environment:
docker
Issue description:
Having a double quote anywhere in the commit message will cause versioning to fail. For example:
this will work:
[klucas@klucas-wks ui-build-config] (master)$ git log -1
commit 081c914e0d5446aa6eaf8254a9ddb5cc127875fc (HEAD -> master, origin/master, origin/HEAD)
Merge: 9de95d8 7a67747
Author: Kevin Lucas <[email protected]>
Date: Fri Oct 23 14:14:59 2020 +0000
Merge branch 'bugfix/PSC-251-remove-polyfill' into 'master'
Arbitrary change
See merge request features/ui-build-config!15
But this will fail:
[klucas@klucas-wks ui-build-config] (master)$ git log -1
commit 49860371514800ddf853b887ef73c8d584fb4800 (HEAD -> master, origin/master, origin/HEAD)
Merge: 8dba406 431a34b
Author: Kevin Lucas <[email protected]>
Date: Fri Oct 23 16:04:55 2020 +0000
Merge branch 'bugfix/PSC-251-remove-polyfill' into 'master'
Arbitrary "change"
See merge request features/ui-build-config!17
Steps to reproduce:
Create a commit on another branch that has a double quote in the commit message. Merge the branch with the master branch in such a way that commit messages from the merged branch are included in the merge commit (fast-forward summery merges on GitLab) and try to version:
(app-root) semver -n --debug
2020-10-23 16:05:25,179 - INFO - Main branch is master
2020-10-23 16:05:25,180 - ERROR - No merge found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.