dont have api keys public LOL
This commit is contained in:
parent
0bc9c3b176
commit
5b5bf0d669
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
build/
|
build/
|
||||||
|
apikeys.sh
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
json=$(curl -Ls https://api.github.com/repos/Lidarr/Lidarr/releases/latest --header "Authorization: Bearer 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" --header "X-GitHub-Api-Version: 2022-11-28")
|
source ./apikeys.sh
|
||||||
|
|
||||||
|
json=$(curl -Ls https://api.github.com/repos/Lidarr/Lidarr/releases/latest --header "Authorization: Bearer $GITHUB_API_KEY" --header "X-GitHub-Api-Version: 2022-11-28")
|
||||||
|
|
||||||
name=$(jq '.name' <<<$json | tr -d '"')
|
name=$(jq '.name' <<<$json | tr -d '"')
|
||||||
echo "Building Lidarr v$name"
|
echo "Building Lidarr v$name"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
json=$(curl -Ls https://api.github.com/repos/Prowlarr/Prowlarr/releases/latest --header "Authorization: Bearer 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" --header "X-GitHub-Api-Version: 2022-11-28")
|
source ./apikeys.sh
|
||||||
|
|
||||||
|
json=$(curl -Ls https://api.github.com/repos/Prowlarr/Prowlarr/releases/latest --header "Authorization: Bearer $GITHUB_API_KEY" --header "X-GitHub-Api-Version: 2022-11-28")
|
||||||
|
|
||||||
name=$(jq '.name' <<<$json | tr -d '"')
|
name=$(jq '.name' <<<$json | tr -d '"')
|
||||||
echo "Building Prowlarr v$name"
|
echo "Building Prowlarr v$name"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
json=$(curl -Ls https://api.github.com/repos/Radarr/Radarr/releases/latest --header "Authorization: Bearer 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" --header "X-GitHub-Api-Version: 2022-11-28")
|
source ./apikeys.sh
|
||||||
|
|
||||||
|
json=$(curl -Ls https://api.github.com/repos/Radarr/Radarr/releases/latest --header "Authorization: Bearer $GITHUB_API_KEY" --header "X-GitHub-Api-Version: 2022-11-28")
|
||||||
|
|
||||||
name=$(jq '.name' <<<$json | tr -d '"')
|
name=$(jq '.name' <<<$json | tr -d '"')
|
||||||
echo "Building Radarr v$name"
|
echo "Building Radarr v$name"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
json=$(curl -Ls https://api.github.com/repos/Readarr/Readarr/releases --header "Authorization: Bearer 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" --header "X-GitHub-Api-Version: 2022-11-28" | jq 'map(select(.prerelease)) | first')
|
source ./apikeys.sh
|
||||||
|
|
||||||
|
json=$(curl -Ls https://api.github.com/repos/Readarr/Readarr/releases --header "Authorization: Bearer $GITHUB_API_KEY" --header "X-GitHub-Api-Version: 2022-11-28" | jq 'map(select(.prerelease)) | first')
|
||||||
|
|
||||||
name=$(jq '.name' <<<$json | tr -d '"')
|
name=$(jq '.name' <<<$json | tr -d '"')
|
||||||
echo "Building Readarr v$name"
|
echo "Building Readarr v$name"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
json=$(curl -Ls https://api.github.com/repos/Sonarr/Sonarr/releases/latest --header "Authorization: Bearer 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" --header "X-GitHub-Api-Version: 2022-11-28")
|
source ./apikeys.sh
|
||||||
|
|
||||||
|
json=$(curl -Ls https://api.github.com/repos/Sonarr/Sonarr/releases/latest --header "Authorization: Bearer $GITHUB_API_KEY" --header "X-GitHub-Api-Version: 2022-11-28")
|
||||||
|
|
||||||
name=$(jq '.name' <<<$json | tr -d '"')
|
name=$(jq '.name' <<<$json | tr -d '"')
|
||||||
echo "Building Sonarr v$name"
|
echo "Building Sonarr v$name"
|
||||||
|
|
Loading…
Reference in a new issue