Update run.sh

This commit is contained in:
Kayou 2021-07-01 02:15:44 +02:00 committed by GitHub
parent ddaa29916b
commit ab061c74d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

9
run.sh
View file

@ -13,7 +13,12 @@ case ${2} in
;; ;;
download_artifacts) download_artifacts)
;; ;;
build_script) # build_script is no step_script
# but we can also have "step_release" or "step_accessibility"
# More info here:
# https://docs.gitlab.com/runner/executors/custom.html#run
# https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26426
step_*)
case $PROJECT_NAME in case $PROJECT_NAME in
yunohost) yunohost)
# Nothing to do? # Nothing to do?
@ -36,4 +41,4 @@ if [ $? -ne 0 ]; then
# Exit using the variable, to make the build as failure in GitLab # Exit using the variable, to make the build as failure in GitLab
# CI. # CI.
exit $BUILD_FAILURE_EXIT_CODE exit $BUILD_FAILURE_EXIT_CODE
fi fi