Only upload on EmergeTools workflow

This commit is contained in:
Thomas Ricouard 2024-09-27 09:29:05 +02:00
parent 04344ba834
commit 93beb2fbd9

View file

@ -2,11 +2,7 @@
set -e
if [[ "$CI_XCODE_SCHEME" != "IceCubesApp" ]]; then
exit 0
fi
if [[ "$CI_PRODUCT_PLATFORM" != "iOS" ]]; then
if [[ "$CI_WORKFLOW" != "EmergeTools Upload" ]]; then
exit 0
fi
@ -24,7 +20,7 @@ pushd $(dirname $CI_ARCHIVE_PATH)
zip -r --symlinks "$(basename $zip_path)" "$(basename $CI_ARCHIVE_PATH)"
popd
repo_name='IceCubesApp'
repo_name='Dimillian/IceCubesApp'
tag='release'
json_fields=$(cat <<EOF
"filename":"${zip_path}",