mirror of
https://github.com/Codeux-Software/Textual.git
synced 2026-06-16 13:24:32 +00:00
Export to different filename for universal builds
This commit is contained in:
@@ -15,7 +15,11 @@ cd "${EXPORT_PATH}"
|
||||
|
||||
GIT_COMMIT_HASH=`git rev-parse --short HEAD`
|
||||
|
||||
ZIP_FILE_NAME="Textual-${GIT_COMMIT_HASH}.zip"
|
||||
if [ "${TEXTUAL_BUILT_AS_UNIVERSAL_BINARY}" == "1" ]; then
|
||||
ZIP_FILE_NAME="Textual-${GIT_COMMIT_HASH}-universal.zip"
|
||||
else
|
||||
ZIP_FILE_NAME="Textual-${GIT_COMMIT_HASH}.zip"
|
||||
fi
|
||||
|
||||
zip -y -r -X "./${ZIP_FILE_NAME}" "./${FULL_PRODUCT_NAME}/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user