Fix version getting mistake with youtubedl
This commit is contained in:
@@ -1 +1 @@
|
|||||||
|
4.2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
version=$(curl -sX GET "https://api.github.com/reposTzahi12345/YoutubeDL-Material/releases" | jq --raw-output '.[0].tag_name')
|
version=$(curl -sX GET "https://api.github.com/repos/Tzahi12345/YoutubeDL-Material/releases" | jq --raw-output '.[0].tag_name')
|
||||||
version="${version#*v}"
|
version="${version#*v}"
|
||||||
version="${version#*release-}"
|
version="${version#*release-}"
|
||||||
printf "%s" "${version}"
|
printf "%s" "${version}"
|
||||||
|
|||||||
Reference in New Issue
Block a user