Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Continious Deploy to NPM with @next tag when the MINOR version number is odd(in developing branch) #1158
According to #905, when the minor version number in semvar is odd, it means it comes from a developing branch, and it's very like UNSTABLE.
odd Examples: (UNSTABLE, in developing)
even Examples: (STABLE, production)
At the same time, we publish all the version to NPM when the code base passed the Automatic Testing by Travis CI.
We should only publish to NPM via CI/CD for the STABLE/PROD version for master branch, which means we should limit it to the version number is even.