mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-22 23:26:37 +00:00
Only upload on EmergeTools workflow
This commit is contained in:
parent
04344ba834
commit
93beb2fbd9
1 changed files with 2 additions and 6 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue