1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-12-25 10:55:01 +00:00

Make GIT_TAG_NAME check conditional

This commit is contained in:
Starbeamrainbowlabs 2019-08-09 22:00:24 +01:00
parent 6ede9551d2
commit 04c63f6c09
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

2
build
View file

@ -126,7 +126,7 @@ task_ci() {
check_env_variable "ARCHIVE"; check_env_variable "ARCHIVE";
check_env_variable "GIT_REF_NAME"; check_env_variable "GIT_REF_NAME";
check_env_variable "GIT_REF_TYPE"; check_env_variable "GIT_REF_TYPE";
check_env_variable "GIT_TAG_NAME"; [[ "${GIT_REF_TYPE}" == "tags" ]] && check_env_variable "GIT_TAG_NAME";
task_end 0; task_end 0;
tasks_run setup build package archive; tasks_run setup build package archive;