Code Monkey home page Code Monkey logo

auto-semver's People

Contributors

atanasova avatar gimbel0893 avatar pharrox avatar rbn-ops avatar yeslayla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auto-semver's Issues

Semver fails with double quotes in a commit

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.