semantic release with github
v1.0.2
It's a test repo to get the semantic-release manager into github-actions.
Semantic-release is a nodejs tool and I want to see it working with a non-js language in ci.
GITHUB_TOKEN
will be filled by GitHub
(it's a gift and default ;))The plugin has problems outputting the current and next version number outside the release. There are many possible workarounds, as the developers probably see it differently (see project issue]. It is also very good that under Github the pull request is the standard, which of course is not supported by the software (see Action).
...
[10:46:49 AM] [semantic-release] › ℹ This run was triggered by a pull request and therefore a new version won't be published.
...
Why could it be useful? The version tag would be useful for me to automatically build containers after release with different tags, for example. This should be possible, but has to be tested unattractively with a new project.
docker-compose run composer composer --version
docker-compose run php php --version
docker-compose run phpunit phpunit --version