Skip to content

Commit

Permalink
fix(task): reuse release now show correct message
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloavf committed Feb 6, 2018
1 parent 5966791 commit eb2acd6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Src/GithubReleasePublish/githubReleasePublish.js
Expand Up @@ -116,7 +116,11 @@ release.on('created-release', () => {
* IF reuseDraftOnly is false and reuseRelease is true, it will override releases and draft assets
*/
release.on('reuse-release', () => {
console.log(`Reuse release - the assets will be uploaded to an existing one`)
if (options.skipDuplicatedAssets) {
console.log(`Reuse release - duplicated assets will not be overwrite`)
} else {
console.log(`Reuse release - duplicated assets will be overwrite`)
}
})

release.on('upload-progress', (name, progress) => {
Expand Down

0 comments on commit eb2acd6

Please sign in to comment.