Generate a changelog from a git commits history using composer and conventional-commits.
366
This docker image is based on PHP 8 CLI with
additional composer and global marcocesarato/php-conventional-changelog package
installed inside.
You can run this image directly to generate a nice CHANGELOG.md file inside your git working directory.
This image doesn't suppose to commit/push anything (in opposite the main package supporting these features). Usually, in our practice, we need to verify generated changelog before committing it to the repository, and tags are created from GitHub or BitBucket user interface.
If you already have CHANGELOG.md file and tags and you want to generate the next release
notes you can simply run the such command:
$ docker run -it --rm --name conventional-changelog -v "$PWD":/codebase justcoded/php-conventional-changelog
In case you want to customize generator parameters and specify config file or
--first-release option, then you should run the image as follows:
$ docker run -it --rm --name conventional-changelog -v "$PWD":/codebase justcoded/php-conventional-changelog bash -c "conventional-changelog --first-release"
Content type
Image
Digest
Size
191.3 MB
Last updated
over 4 years ago
docker pull justcoded/php-conventional-changelog