Skip to content

Commit

Permalink
dist tag
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Aug 16, 2024
1 parent d1f63c1 commit bfdc797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/js/scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ try {
console.log(nextPkg);
await Bun.write("package.json", JSON.stringify(nextPkg, null, 2));
await $`npm publish --access public --tag ${tag}`;
if (!snapshot) await $`npm publish --access public --tag ion`;
if (!snapshot) await $`npm dist-tag add ${pkg.name}@${pkg.version} ion`;
} finally {
await Bun.write("package.json", JSON.stringify(pkg, null, 2));
await fs.rmdir(tmp, { recursive: true });
Expand Down

0 comments on commit bfdc797

Please sign in to comment.