Skip to content

Commit 1c98799

Browse files
authored
Enhance release.sh with shebang and error check
Add shebang and error handling to release script
1 parent 52a32c2 commit 1c98799

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

chore/release.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#!/bin/bash
2+
# release script
3+
4+
# fail when fail
5+
set -e
6+
17
if [ -z "$1" ]; then
28
echo "Usage: $0 <patch|major|minor>"
39
exit 1

0 commit comments

Comments
 (0)