fixed version extractor: variables were missing

This commit is contained in:
XargonWan 2023-08-31 12:40:38 +02:00
parent 60f228961a
commit 156730beda

4
automation_tools/version_extractor.sh Normal file → Executable file
View file

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
appdata="net.retrodeck.retrodeck.appdata.xml"
manifest="net.retrodeck.retrodeck.yml"
manifest_content=$(cat "$manifest")
fetch_repo_version(){ fetch_repo_version(){
# Getting latest RetroDECK release info # Getting latest RetroDECK release info
LATEST_RELEASE=$(curl -s "https://api.github.com/repos/XargonWan/RetroDECK/releases/latest") LATEST_RELEASE=$(curl -s "https://api.github.com/repos/XargonWan/RetroDECK/releases/latest")