Skip to content

phpcq/branch-alias-validation

Repository files navigation

Version Stable Build Status Upstream Build Status License Downloads

Validate branch alias against latest tag.

This is useful to ensure that no branch alias is "behind" the most recent tag on the given branch for the alias.

Usage

Add to your composer.json in the require-dev section:

"phpcq/branch-alias-validation": "~1.0"

Call the binary:

./vendor/bin/validate-branch-alias.php

Optionally pass the root of the git repository to check:

./vendor/bin/validate-branch-alias.php /path/to/some/git/repository

About

Validate branch alias against latest tag.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published

Languages