mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 00:11:00 +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
|
set -e
|
||||||
|
|
||||||
if [[ "$CI_XCODE_SCHEME" != "IceCubesApp" ]]; then
|
if [[ "$CI_WORKFLOW" != "EmergeTools Upload" ]]; then
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$CI_PRODUCT_PLATFORM" != "iOS" ]]; then
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,7 +20,7 @@ pushd $(dirname $CI_ARCHIVE_PATH)
|
||||||
zip -r --symlinks "$(basename $zip_path)" "$(basename $CI_ARCHIVE_PATH)"
|
zip -r --symlinks "$(basename $zip_path)" "$(basename $CI_ARCHIVE_PATH)"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
repo_name='IceCubesApp'
|
repo_name='Dimillian/IceCubesApp'
|
||||||
tag='release'
|
tag='release'
|
||||||
json_fields=$(cat <<EOF
|
json_fields=$(cat <<EOF
|
||||||
"filename":"${zip_path}",
|
"filename":"${zip_path}",
|
||||||
|
|
Loading…
Reference in a new issue