Skip to content

Commit 3af7431

Browse files
committed
[New Feature] (script) Add a shell script about checking whether it can get the output or not.
1 parent 72e6425 commit 3af7431

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/ci/check_getting_output.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
#set -ex
4+
5+
release_version=$(echo $RELEASE_TYPE)
6+
if [ "$release_version" != "" ]; then
7+
echo "📬🎉🍻 It gets data which is release version info!"
8+
exit 0
9+
else
10+
echo "📭🙈 It doesn't get any data which is release version info."
11+
exit 1
12+
fi

0 commit comments

Comments
 (0)