svc / versioning-bundle
Private package to handle version numbers and deploys
Installs: 260
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.3 || ^8
- symfony/config: ^6 || ^7
- symfony/console: ^6 || ^7
- symfony/dependency-injection: ^6 || ^7
- symfony/http-kernel: ^6 || ^7
- symfony/yaml: ^6 || ^7
Requires (Dev)
- phpstan/phpstan: ^2
Suggests
- easycorp/easy-deploy-bundle: Prefered tool to deploy the application
README
This bundle supports versioning, (optional) git commit, pull and tagging and (optional) deployment. Semantic versioning with major, minor and patch versions is used.
Steps
- Create a new version (using parameters on call)
- Write the new version to the .version file
- Write the new version to a Twig template (templates/_version.html.twig) (to display the version within the application)
- Append the version and optional parameter to CHANGELOG.md file
- Committing the changes
- Push the changes
- Create and push a tag with the new version number
- (optional) Deploy the application (if easycorp/easy-deploy-bundle is installed and configured)