From a994f0852a181380eb1e2c8bdfac0adbd2a479c9 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Wed, 15 Apr 2020 19:03:46 +0100 Subject: [PATCH] [GitlabCI] Fix the branch name on the cloning process --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c0e009..2bfb9fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: stage: build before_script: - apt update && apt install -y make wget git emacs sudo - - git clone -b fpkg-v2 https://gitlab.com/FG42/FG42 ~/.fg42/ && cd ~/.fg42/ && make install && + - git clone -b $CI_COMMIT_REF_NAME https://gitlab.com/FG42/FG42 ~/.fg42/ && cd ~/.fg42/ && make install && script: - cd ~/.fg42/ && fg42 -nw --script build.el @@ -15,7 +15,7 @@ stages: stage: build before_script: - apt update && apt install -y make wget git emacs sudo - - git clone -b fpkg-v2 https://gitlab.com/FG42/FG42 ~/.fg42/ + - git clone -b $CI_COMMIT_REF_NAME https://gitlab.com/FG42/FG42 ~/.fg42/ script: - cd ~/.fg42/ && ./fbt build