[Tarantool-patches] [PATCH v10] gitlab-ci: push Deb/RPM packages to S3 based repos

Alexander Turenko alexander.turenko at tarantool.org
Tue Feb 4 11:38:11 MSK 2020


On Tue, Feb 04, 2020 at 10:52:04AM +0300, Alexander Turenko wrote:
> Pushed to master, 2.3, 2.2, 2.1 (w/o Fedora 31), 1.10.
> 
> CCed Kirill.
> 
> I'll file an issue for follow up activities.
> 
> WBR, Alexander Turenko.

Force pushed the following change:

diff --git a/.gitlab.mk b/.gitlab.mk
index 7cdcd6ae7..24b18b7f2 100644
--- a/.gitlab.mk
+++ b/.gitlab.mk
@@ -115,9 +115,10 @@ deploy: package
        echo ${GPG_SECRET_KEY} | base64 -d | gpg --batch --import || true
        ./tools/update_repo.sh -o=${OS} -d=${DIST} \
                -b="${LIVE_REPO_S3_DIR}/${BUCKET}" build
-       git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null && \
+       if git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null ; then \
                ./tools/update_repo.sh -o=${OS} -d=${DIST} \
-                       -b="${RELEASE_REPO_S3_DIR}/${BUCKET}" build
+                       -b="${RELEASE_REPO_S3_DIR}/${BUCKET}" build ; \
+       fi
 
 # ############
 # Static build


More information about the Tarantool-patches mailing list