This commit is contained in:
Akolzin Dmitry 2020-02-18 10:19:05 +03:00
parent 9e1edf2fcc
commit 2f099d477c

View File

@ -40,7 +40,8 @@ jobs:
- stage: GitHub Release - stage: GitHub Release
script: make build_archive script: make build_archive
before_deploy: before_deploy:
- `cat VERSION|awk '{print "export ARCHIVE_NAME=retailcrm-"$1".zip"}'` - export VERSION = `cat VERSION`
- export ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.zip'
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_OAUTH_TOKEN api_key: $GITHUB_OAUTH_TOKEN