fetch tags from origin repository (#213)

This commit is contained in:
Akolzin Dmitry 2020-12-15 14:15:37 +03:00 committed by GitHub
parent 24222d66ca
commit 7ed233450c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,6 +216,7 @@ jobs:
tools: composer:v1 tools: composer:v1
- name: Build release - name: Build release
run: | run: |
git fetch origin --unshallow --tags
export LAST_TAG=`git describe --abbrev=0 --tags` export LAST_TAG=`git describe --abbrev=0 --tags`
export VERSION=`cat VERSION` export VERSION=`cat VERSION`
export ARCHIVE_NAME=retailcrm-$VERSION.ocmod.zip export ARCHIVE_NAME=retailcrm-$VERSION.ocmod.zip