From 7ed233450c39781eb60ca50d055c83ee5c82f4d6 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 15 Dec 2020 14:15:37 +0300 Subject: [PATCH] fetch tags from origin repository (#213) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 228db30..28e7b20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,6 +216,7 @@ jobs: tools: composer:v1 - name: Build release run: | + git fetch origin --unshallow --tags export LAST_TAG=`git describe --abbrev=0 --tags` export VERSION=`cat VERSION` export ARCHIVE_NAME=retailcrm-$VERSION.ocmod.zip