[GitlabCI] Fix the branch name on the cloning process

This commit is contained in:
Sameer Rahmani 2020-04-15 19:03:46 +01:00
parent 5fc7929285
commit a994f0852a
1 changed files with 2 additions and 2 deletions

View File

@ -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