Skip to content

Commit

Permalink
feat: log OpenVSX URL after publishing (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
TastefulElk authored Sep 15, 2022
1 parent e55593e commit 25ca855
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ module.exports = async (version, packagePath, logger) => {
logger.log('Now publishing to OpenVSX');

await execa('ovsx', ['publish', packagePath], { stdio: 'inherit' });
const ovsxUrl = `https://open-vsx.org/extension/${publisher}/${name}/${version}`;

logger.log(`The new ovsx version is available at ${ovsxUrl}`);

// TODO: uncomment after https://github.com/semantic-release/semantic-release/issues/2123
// const ovsxUrl = `https://open-vsx.org/extension/${publisher}/${name}/${version}`;
// const ovsxRelease = {
// name: 'Open VSX Registry',
// url: ovsxUrl
Expand Down

0 comments on commit 25ca855

Please sign in to comment.