diff --git a/scripts/release/Release.js b/scripts/release/Release.js index e82073f10df..133551d31cb 100644 --- a/scripts/release/Release.js +++ b/scripts/release/Release.js @@ -132,8 +132,15 @@ class Release { // Changelog and Github release. const changelog = await this.__getChangelog(lernaJSON.version); - const { data: release } = await this.__createGithubRelease(versionTag, changelog); - this.logger.info("Created Github release: %s", release.html_url); + this.logger.log("Changelog:\n\n%s\n\n", changelog); + + try { + const { data: release } = await this.__createGithubRelease(versionTag, changelog); + this.logger.info("Created Github release: %s", release.html_url); + } catch (err) { + this.logger.warning("Failed to create a Github release: %s", err.message); + this.logger.log(err); + } } // Reset all changes made during versioning.