phpcq / branch-alias-validation
Validation tool to ensure that all branches are ahead of the most recent tag.
Fund package maintenance!
discordier
dmolineus
Installs: 37 373
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 1
Open Issues: 1
Requires
- php: ^5.6 | ^7.1
- ext-json: *
- bit3/git-php: ^1.5.0
- symfony/console: ^3.0 | ^4.0 | ^5.0
Requires (Dev)
- phpcq/all-tasks: ^1.3
README
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