From 30c0d5f4d58404ef72dc44b4ab2991a6a0bb0f72 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 14 Sep 2017 10:22:37 +0200 Subject: [PATCH] gitlab-ci: ensure release tag is present for metadata_v0 tests Forks won't necessarily have all the tags, so this ensures that they are present. --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ce9064e..0b0a4d3e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,12 @@ test: - cd tests - ./complete-ci-tests -# Test that the parsing of the .txt format didn't change -# from last released version. +# Test that the parsing of the .txt format didn't change from last +# released version. Ensure that the official tags are included when +# running these tests on forks as well. metadata_v0: script: + - git fetch https://gitlab.com/fdroid/fdroidserver 0.8 - cd tests - export GITCOMMIT=`git describe` - git checkout 0.8 # bump after release