Merge pull request #5 from linuxserver/no-prereleases

Don't fetch pre-release builds
This commit is contained in:
aptalca 2022-02-11 09:17:40 -05:00 committed by GitHub
commit f0ce63071a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ RUN \
mkdir -p /app/phpmyadmin && \
if [ -z ${PHPMYADMIN_VERSION+x} ]; then \
PHPMYADMIN_VERSION=$(curl -sX GET "https://api.github.com/repos/phpmyadmin/phpmyadmin/releases" \
| jq -r 'first(.[] | select(.name | startswith("5"))) | .name'); \
| jq -r 'first(.[] | select(.name | startswith("5")) | select (.prerelease==false)) | .name'); \
fi && \
curl -s -o \
/tmp/phpmyadmin.tar.xz -L \

View File

@ -48,7 +48,7 @@ RUN \
mkdir -p /app/phpmyadmin && \
if [ -z ${PHPMYADMIN_VERSION+x} ]; then \
PHPMYADMIN_VERSION=$(curl -sX GET "https://api.github.com/repos/phpmyadmin/phpmyadmin/releases" \
| jq -r 'first(.[] | select(.name | startswith("5"))) | .name'); \
| jq -r 'first(.[] | select(.name | startswith("5")) | select (.prerelease==false)) | .name'); \
fi && \
curl -s -o \
/tmp/phpmyadmin.tar.xz -L \

View File

@ -48,7 +48,7 @@ RUN \
mkdir -p /app/phpmyadmin && \
if [ -z ${PHPMYADMIN_VERSION+x} ]; then \
PHPMYADMIN_VERSION=$(curl -sX GET "https://api.github.com/repos/phpmyadmin/phpmyadmin/releases" \
| jq -r 'first(.[] | select(.name | startswith("5"))) | .name'); \
| jq -r 'first(.[] | select(.name | startswith("5")) | select (.prerelease==false)) | .name'); \
fi && \
curl -s -o \
/tmp/phpmyadmin.tar.xz -L \

View File

@ -3,7 +3,7 @@
# jenkins variables
project_name: docker-phpmyadmin
external_type: na
custom_version_command: "curl -sX GET 'https://api.github.com/repos/phpmyadmin/phpmyadmin/releases' | jq -r 'first(.[] | select(.name | startswith(\"5\"))) | .name'"
custom_version_command: "curl -sX GET 'https://api.github.com/repos/phpmyadmin/phpmyadmin/releases' | jq -r 'first(.[] | select(.name | startswith(\"5\")) | select (.prerelease==false)) | .name'"
release_type: stable
release_tag: latest
ls_branch: main