Commit 52189fb8 authored by CapsLock's avatar CapsLock
Browse files

Mettre à jour .gitlab-ci.yml

parent 2fe2dc78
image: docker:19.03.12
image: docker:20.10
variables:
DOCKER_TLS_CERTDIR: "/certs"
services:
- docker:19.03.12-dind
- docker:20.10-dind
stages:
- build
......@@ -16,7 +15,6 @@ patch_and_build_signal:
- "curl $NOTIFICATION_URL/?pipeline_id=$CI_PIPELINE_ID&job_id=$CI_JOB_ID"
script:
- apk add git curl jq
- apk add openjdk11-jdk # (jarsigner)
- "export LATEST_SIGNAL_TAG=\"$(curl https://api.github.com/repos/signalapp/Signal-Android/tags | jq -r '.[] .name' | sed '/-/!{s/$/_/}' | sort -V | sed 's/_$//'|tail -n1)\""
#- "export LATEST_SIGNAL_TAG=\"$(git ls-remote --tags https://github.com/signalapp/Signal-Android | sed 's|.*/\\(.*\\)$|\\1|' | grep -v '\\^' | sort -t. -k1,1nr -k2,2nr -k3,3nr|grep -e '^v.*' | head -n 1)\""
- "if [[ -z \"$LATEST_SIGNAL_TAG\" ]]; then exit 2; fi"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment