phpcq/branch-alias-validation
Validation tool to ensure that all branches are ahead of the most recent tag.
Maintainers
1.3.1
2020-09-19 07:49 UTC
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
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 966d932a2641ec849971e5519bdb56340bef4d59
- Christian Schiffler <c.schiffler.woop@cyberspectrum.de>
- Tristan Lins <tristan.woop@lins.io>
README
👁 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
