Commit 5e5b6928 authored by Claudio André's avatar Claudio André

CI: linter don't compare if in a stable branch

In long-lived stable branches don't compare against anything.

Closes #156.
parent d1a3a3ad
......@@ -60,9 +60,9 @@ function do_Build_Package_Dependencies(){
function do_Get_Upstream_Master(){
if [[ "$CI_BUILD_REF_SLUG" == "master" && "$CI_PROJECT_PATH_SLUG" == "gnome-gjs" ]]; then
if [[ "$CI_PROJECT_PATH_SLUG" == "gnome-gjs" && ("$CI_BUILD_REF_SLUG" == "master" || "$CI_BUILD_REF_SLUG" == "gnome-"*) ]]; then
echo '-----------------------------------------'
echo 'Running against upstream master'
echo 'Running against upstream'
echo "=> $1 Nothing to do"
do_Done
......
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