Skip to content

Commit

Permalink
Merge pull request #21 from RomainOliva/master
Browse files Browse the repository at this point in the history
feat(publish): return release context to be able to use it in other plugins
  • Loading branch information
vuki656 authored Mar 20, 2023
2 parents 0889674 + 8d5ee96 commit 6532fc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,9 @@ export async function publish(config: PluginConfig, context: Context) {
)

await Promise.allSettled(publishPromises)

return {
name: 'S3 release',
url: `https://${bucketName}.s3.amazonaws.com/${bucketPrefix}`,
}
}

0 comments on commit 6532fc4

Please sign in to comment.