ci(ci-semver): add semver release for binaries

This commit is contained in:
ZanzyTHEbar 2023-01-08 21:12:43 +00:00
parent 8300cf3f3c
commit c265d5f45b
3 changed files with 18 additions and 8 deletions

View File

@ -52,16 +52,26 @@
"prepareCmd": "sed -i 's/\"version\": \"[0-9\\.]*\",/\"version\": \"${nextRelease.version}\",/g' ./ESP/lib/library.json" "prepareCmd": "sed -i 's/\"version\": \"[0-9\\.]*\",/\"version\": \"${nextRelease.version}\",/g' ./ESP/lib/library.json"
} }
], ],
"@semantic-release/github",
[ [
"@semantic-release/git", "@semantic-release/github",
{ {
"assets": [ "assets": [
"ESP/lib/library.json", {
"release/**/*.bin" "path": "release/**/*.bin",
], "label": "Firmware Files"
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" }
} ]
},
[
"@semantic-release/git",
{
"assets": [
"ESP/lib/library.json",
"release/**/*.bin"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
] ]
] ]
} }

1
ESP/.gitignore vendored
View File

@ -3,3 +3,4 @@
build/ build/
*.log *.log
/tools/firmware_name.txt /tools/firmware_name.txt
/tools/version.txt

View File

@ -1 +0,0 @@
v9.0.10