Skip to content

Commit

Permalink
Merge pull request #2142 from sheinsight/saint3347-patch-1
Browse files Browse the repository at this point in the history
Update publish.js
  • Loading branch information
saint3347 authored Sep 24, 2024
2 parents 3e2b1da + 116b540 commit 8b359f0
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 8b359f0

Please sign in to comment.