Skip to content

Commit

Permalink
prevent running without target version
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate committed Oct 8, 2024
1 parent 846bb45 commit b1c4fcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env bash

if [[ "$1" == "" ]]; then
echo "Usage: $0 <target_version>"
exit 1
fi

echo "Bumping to version $1"

rm -Rf dist 2>/dev/null
Expand Down

0 comments on commit b1c4fcb

Please sign in to comment.