When updating the master branch, if the version listed in package.json is the same version as the most recent tag in the repo, abort the deployment script. This implies that while master was updated, no release should happen.
Update master but don't change the version in package.json
This is a minor issue... master isn't normally updated unless cutting a release. It only causes the CI build to fail, but it has zero impact to anything.
Expected Behavior
When updating the
master
branch, if the version listed inpackage.json
is the same version as the most recent tag in the repo, abort the deployment script. This implies that whilemaster
was updated, no release should happen.Actual Behavior
Build fails... for example: https://circleci.com/gh/ngOfficeUIFabric/ng-officeuifabric/240
Steps to Reproduce Behavior
Update
master
but don't change the version inpackage.json