[gjs/gnome-3-28] CI: do not run linters on tagged commits
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/gnome-3-28] CI: do not run linters on tagged commits
- Date: Mon, 1 Oct 2018 07:02:36 +0000 (UTC)
commit b78fd357a1b1c707313b07aa4c4cda77c1c1ea7f
Author: Claudio André <claudioandre br gmail com>
Date: Sun Jul 1 15:43:42 2018 -0300
CI: do not run linters on tagged commits
It doesn't make sense to run linters on maintenance releases. They
do not compare to master.
test/test-ci.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/test/test-ci.sh b/test/test-ci.sh
index badccfe6..a482ee3e 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -81,7 +81,8 @@ function do_Show_Info(){
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-"* || -n "${CI_COMMIT_TAG}")
]]; then
echo '-----------------------------------------'
echo 'Running against upstream master'
echo "=> $1 Nothing to do"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]