Explorar o código

ci(linux): skip checking assets [skip ci]

Baptiste Augrain hai 1 ano
pai
achega
ab1a6fa244
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      check_tags.sh

+ 3 - 1
check_tags.sh

@@ -47,7 +47,9 @@ contains() {
   echo "${ASSETS}" | grep "${1}\""
 }
 
-if [[ "${ASSETS}" != "null" && "${CHECK_ASSETS}" != "no" ]]; then
+if [[ "${CHECK_ASSETS}" == "no" ]]; then
+  echo "Don't check assets, yet"
+elif [[ "${ASSETS}" != "null" ]]; then
   if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
     if [[ -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" ) || -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.zip" ) ]]; then
       echo "Building because we have no SRC"