Skip to content
/ AT-YT Public

Commit 9d3b1f9

Browse files
authored
Update build.sh
1 parent 0d7b8f6 commit 9d3b1f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ echo "Url: $uggrl"
5252
file "$2"; }
5353

5454
upload_gh(){
55-
if [ "$(gh release verify "$1" 2>&1 | grep -icm1 "$1")" == 1 ];then
55+
if [ "$(gh release verify "$1" 2>&1 | grep -o "$1")" == "$1" ];then
5656
echo "Đã có tag: $1"
5757
gh release edit "$1" --latest -t "$3" -n "$4"
5858
gh release upload "$1" "$2" --clobber
@@ -188,7 +188,7 @@ apksign YT.apk $HOME/Up/YT-$VER-$ach${amoled2}.apk
188188
find Up/* -type f
189189
Upenv FILE "$(find Up/* -type f)"
190190
for vv in $(find Up/* -type f); do
191-
upload_gh "K-$V-$VER" "$vv" "YT-RE $VER $V" \
191+
upload_gh "K-$V-$VER" "$vv" "YT-RE $VER ${V^}" \
192192
"YT-RE"
193193
done
194194
exit 0

0 commit comments

Comments
 (0)