Skip to content

Commit b83ce22

Browse files
committed
Fix release.sh to work with sh
1 parent 629d13c commit b83ce22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/usr/bin/env sh
22
set -e
3-
if [ "$1" == "" ]; then
3+
4+
# == would end up with: scripts/release.sh: 5: [: v3.8.1: unexpected operator
5+
if [ "$1" = "" ]; then
46
echo usage: "$0 VERSION"
57
fi
8+
69
git tag $1
710
git push origin $1
811
gh release create $1 --draft --generate-notes --title "$1" release/*.tgz

0 commit comments

Comments
 (0)