Skip to content

Commit

Permalink
publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
julesrx committed Dec 6, 2023
1 parent d2898b3 commit 0042837
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#/bin/bash

read -p "Are you sure? y/n" -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
npm publish --access public
fi

0 comments on commit 0042837

Please sign in to comment.