Skip to content

Commit

Permalink
Define releaseSummary for publish and release (#972)
Browse files Browse the repository at this point in the history
* Define releaseSummary for publish and release

Signed-off-by: Sophia Guo <[email protected]>

* Update releaseSummary with append </ul>

Signed-off-by: Sophia Guo <[email protected]>

---------

Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Mar 18, 2024
1 parent f9c01ce commit d3c5002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/build/common/build_base_file.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ class Builder implements Serializable {
return
}
def releaseSummary
if (publish) {
if ( publish || release ) {
releaseSummary = context.manager.createSummary('next.svg')
if (release) {
if (publishName) {
Expand Down Expand Up @@ -998,7 +998,7 @@ class Builder implements Serializable {
context.parallel jobs
// publish to github if needed
// Don't publish release automatically
if (publish) {
if (publish || release) {
if (release) {
context.println 'NOT PUBLISHING RELEASE AUTOMATICALLY, PLEASE SEE THE RERUN RELEASE PUBLISH BINARIES LINKS'
} else {
Expand Down

0 comments on commit d3c5002

Please sign in to comment.