ci: implement semantic release workflow
**Description**: Implement semantic release workflow. Signed-off-by: Andrew Brandt <brandt.andrew89@gmail.com>
This commit is contained in:
37
.releaserc
Normal file
37
.releaserc
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"plugins": [
|
||||
[
|
||||
"@semantic-release/commit-analyzer",
|
||||
{
|
||||
"preset": "conventionalcommits"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/release-notes-generator",
|
||||
{
|
||||
"preset": "conventionalcommits"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/github",
|
||||
{
|
||||
"assets": [
|
||||
".pio/build/gh_release/bootloader.bin",
|
||||
".pio/build/gh_release/firmware.bin",
|
||||
".pio/build/gh_release/firmware.elf",
|
||||
".pio/build/gh_release/firmware.map",
|
||||
".pio/build/gh_release/partitions.bin"
|
||||
],
|
||||
"successComment": false,
|
||||
"failComment": false,
|
||||
"message": "Release - ${nextRelease.version}"
|
||||
}
|
||||
],
|
||||
[
|
||||
"branches",
|
||||
{
|
||||
"name": "main"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user