contao-community-alliance / build-system-tool-branch-alias-validation
Validation tool to ensure that all branches are ahead of the most recent tag.
Maintainers
Details
github.com/contao-community-alliance-archive/build-system-tool-branch-alias-validation
Installs: 7 783
Dependents: 3
Suggesters: 1
Security: 0
Stars: 0
Watchers: 7
Forks: 1
pkg:composer/contao-community-alliance/build-system-tool-branch-alias-validation
Requires
- php: >=5.3.4
- contao-community-alliance/build-system-repository-git: ~1.0
- symfony/console: ~2.3
Requires (Dev)
This package is not auto-updated.
Last update: 2022-02-01 12:39:18 UTC
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:
"contao-community-alliance/build-system-tool-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