Remove tag and release from the notes.
This commit is contained in:
parent
5e9c48934d
commit
c5a415d73a
|
@ -183,7 +183,7 @@ String extract(repo_url, log_content, tag, gCube_release_version, component) {
|
|||
println "Changelong content: ${log_content}"
|
||||
if (log_content.startsWith('Missing CHANGELOG.md'))
|
||||
return log_content + "at ${repo_url}"
|
||||
def matcher = ("${log_content}" =~ /(?is)(\[v$tag]\s+\[r$gCube_release_version\].*?)##\s+\[v.*?\]/)
|
||||
def matcher = ("${log_content}" =~ /(?is)\[v$tag]\s+\[r$gCube_release_version\](.*?)##\s+\[v.*?\]/)
|
||||
if (!matcher.find()) {
|
||||
return "Tags ${tag} / ${gCube_release_version} not found in CHANGELOG.md at ${repo_url}"
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ def appendFooter() {
|
|||
*/
|
||||
def appendNotes(repo_notes) {
|
||||
sh("""
|
||||
echo "### ${repo_notes}" >> $RELEASE_NOTES
|
||||
echo "${repo_notes}" >> $RELEASE_NOTES
|
||||
""")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue