From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CF36229798 for ; Fri, 22 Mar 2019 11:22:14 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q6oZOd3beIFe for ; Fri, 22 Mar 2019 11:22:14 -0400 (EDT) Received: from smtp60.i.mail.ru (smtp60.i.mail.ru [217.69.128.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 7E7E0295A9 for ; Fri, 22 Mar 2019 11:22:14 -0400 (EDT) Date: Fri, 22 Mar 2019 18:22:09 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH 1/2] build: update rules for extended CI Message-ID: <20190322152209.pbae4uofye44jznl@tarantool.org> References: <98d9affb350e33124aca9e475f3394e00e5a75fd.1553174240.git.kyukhin@tarantool.org> <20190322084106.vsxeuoe73ob6wgeh@tarantool.org> <20190322115101.lidrvdftwepjlcly@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190322115101.lidrvdftwepjlcly@tkn_work_nb> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Alexander Turenko Cc: tarantool-patches@freelists.org Hello, On 22 Mar 14:51, Alexander Turenko wrote: > On Fri, Mar 22, 2019 at 11:41:06AM +0300, Kirill Yukhin wrote: > > Hello, > > > > On 21 Mar 16:25, Kirill Yukhin wrote: > > > Development branch is now named master, so > > > update conditions for exetended extended checks on > > > Travis. > > > Also, set new repo name. > > > > Fixed typo, set repo to 2_2 and committed to master. > > Tarballs problem is not fixed (see my previous email). 2_2 repository is > created but CI fails (maybe the push was before the bucket creation). I'm going to commit this one as well: diff --git a/.travis.mk b/.travis.mk index 6e42973..add3826 100644 --- a/.travis.mk +++ b/.travis.mk @@ -83,8 +83,14 @@ source: # Push alpha and beta versions to x bucket (say, 2x), # stable to . bucket (say, 2.2). -MAJOR_VERSION=$(word 1,$(subst ., ,$(TRAVIS_BRANCH))) -MINOR_VERSION=$(word 2,$(subst ., ,$(TRAVIS_BRANCH))) +ifeq ($(TRAVIS_BRANCH),master) + GIT_DESCRIBE := $(shell git describe HEAD) + MAJOR_VERSION=$(word 1,$(subst ., ,${GIT_DESCRIBE})) + MINOR_VERSION=$(word 2,$(subst ., ,${GIT_DESCRIBE})) +else + MAJOR_VERSION=$(word 1,$(subst ., ,$(TRAVIS_BRANCH))) + MINOR_VERSION=$(word 2,$(subst ., ,$(TRAVIS_BRANCH))) +endif BUCKET=tarantool.$(MAJOR_VERSION).$(MINOR_VERSION).src ifeq ($(MINOR_VERSION),0) BUCKET=tarantool.$(MAJOR_VERSION)x.src -- Regards, Kirill Yukhin