Skip to content

Commit

Permalink
chore: fix publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswuerbach committed May 14, 2024
1 parent 3293db1 commit 41fe396
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/thin-peaches-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@humanitec/backstage-plugin': patch
'@humanitec/backstage-plugin-backend': patch
'@humanitec/backstage-plugin-scaffolder-backend-module': patch
---

Re-trigger dynamic plugin publish
3 changes: 2 additions & 1 deletion scripts/upload-dynamic-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ for (const package of publishedPackages) {
package.name += '-dynamic'
console.log(`Publishing package: ${package.name}@${package.version}`);

const archive = pathJoin(__dirname, 'output', `${package.name}-${package.version}.tgz`);
const archiveName = `${package.name.replace('@humanitec/backstage', 'humanitec-backstage')}-${package.version}.tgz`
const archive = pathJoin(__dirname, 'output', archiveName);

execSync(`npm publish ${archive} --access public`, { stdio: 'inherit' });
}

0 comments on commit 41fe396

Please sign in to comment.