semantic-release-composer 1.1.0
Install from the command line:
Learn more about npm packages
$ npm install @ambimax/semantic-release-composer@1.1.0
Install via package.json:
"@ambimax/semantic-release-composer": "1.1.0"
About this version
semantic-release plugin to update a composer package for php.
Step | Description |
---|---|
verifyConditions |
Verify the presence of a composer.json file. |
prepare |
Update the composer.json version & sync composer.lock file if it exists. |
$ npm install @ambimax/semantic-release-composer -D
The plugin can be configured in the semantic-release configuration file:
{
"tagFormat": "${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@ambimax/semantic-release-composer"
]
}
Options | Description | Default |
---|---|---|
skipOnMissingComposerJson |
Silently ignore missing composer.json file | false |
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@ambimax/semantic-release-composer",
{
"skipOnMissingComposerJson": true
}
],
[
"@semantic-release/git",
{
"assets": ["composer.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
Details
- semantic-release-composer
- ambimax
- 5 months ago
- MIT
- 14 dependencies
Assets
- semantic-release-composer-1.1.0.tgz
Download activity
- Total downloads 37
- Last 30 days 6
- Last week 2
- Today 2