[gjs: 1/2] CI: do not run linters on tagged commits
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] CI: do not run linters on tagged commits
- Date: Thu, 5 Jul 2018 07:59:46 +0000 (UTC)
commit 4ec2e082a9c64576e0bf321b25a0555dd093f8b6
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 70bece2d..b03707c9 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -60,7 +60,8 @@ function do_Build_Package_Dependencies(){
function do_Get_Upstream_Master(){
- if [[ "$CI_PROJECT_PATH_SLUG" == "gnome-gjs" && ("$CI_BUILD_REF_SLUG" == "master" ||
"$CI_BUILD_REF_SLUG" == "gnome-"*) ]]; 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'
echo "=> $1 Nothing to do"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]