Skip to content

Commit

Permalink
Update publish.js
Browse files Browse the repository at this point in the history
  • Loading branch information
saint3347 authored Sep 24, 2024
1 parent 3e2b1da commit 116b540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const validateFile = () => {

const publishPackage = () => {
const distPath = path.resolve(__dirname, `../publish`)
exec(`npm publish ${distPath} --access public${tag ? ` --tag ${tag}` : ''}`, (error, stdout, stderr) => {
exec(`npm publish ${distPath} --access public${tag ? ` --tag ${tag}-2` : ''}`, (error, stdout, stderr) => {
if (error) {
console.error('Error occurred:', error)
console.error('Standard error output:', stderr)
Expand Down

0 comments on commit 116b540

Please sign in to comment.