Skip to content

Commit

Permalink
Script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyicker committed Apr 13, 2024
1 parent 5e56b0b commit ddc8da4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .scripts/tag.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
set -e

usage() {
echo "Usage: $0 -v <version>" >&2
exit 1
Expand All @@ -12,7 +13,7 @@ if [ -n "$(git status --porcelain)" ]; then
exit 1
fi

while getopts ":v" opt; do
while getopts ":v:" opt; do
case $opt in
v)
VERSION=$OPTARG
Expand Down

0 comments on commit ddc8da4

Please sign in to comment.