Bot Updating Templated Files

This commit is contained in:
LinuxServer-CI 2022-05-26 21:56:31 +02:00
parent 002116a5b9
commit 2f4e99a786

2
Jenkinsfile vendored
View File

@ -107,7 +107,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: ''' curl -sX GET 'https://api.github.com/repos/phpmyadmin/phpmyadmin/releases' | jq -r 'first(.[] | select(.name | startswith("5.2")) | select (.prerelease==false)) | .name' ''',
script: ''' curl -sX GET 'https://api.github.com/repos/phpmyadmin/phpmyadmin/releases' | jq -r '.[] | select (.prerelease==false)' | jq -rs 'max_by(.name | split(".") | map(tonumber)) | .name' ''',
returnStdout: true).trim()
env.RELEASE_LINK = 'custom_command'
}