Open hollowaykeanho opened 7 months ago
Fix:
diff --git a/automataCI/package_unix-any.sh b/automataCI/package_unix-any.sh
index e176889..06648a1 100644
--- a/automataCI/package_unix-any.sh
+++ b/automataCI/package_unix-any.sh
@@ -155,7 +155,9 @@ for i in "${PROJECT_PATH_ROOT}/${PROJECT_PATH_BUILD}"/*; do
TARGET_OS="${TARGET_FILENAME##*_}"
TARGET_FILENAME="${TARGET_FILENAME%%_*}"
TARGET_ARCH="${TARGET_OS##*-}"
+ TARGET_ARCH="${TARGET_ARCH%%.*}"
TARGET_OS="${TARGET_OS%%-*}"
+ TARGET_OS="${TARGET_OS%%.*}"
if [ "$(STRINGS_Is_Empty "$TARGET_OS")" -eq 0 ] ||
[ "$(STRINGS_Is_Empty "$TARGET_ARCH")" -eq 0 ] ||
diff --git a/automataCI/package_windows-any.ps1 b/automataCI/package_windows-any.ps1
index 1981979..472a25e 100644
--- a/automataCI/package_windows-any.ps1
+++ b/automataCI/package_windows-any.ps1
@@ -170,7 +170,9 @@ foreach ($file in (Get-ChildItem -Path "${env:PROJECT_PATH_ROOT}\${env:PROJECT_P
$TARGET_OS = $TARGET_FILENAME -replace ".*_"
$TARGET_FILENAME = $TARGET_FILENAME -replace "_.*"
$TARGET_ARCH = $TARGET_OS -replace ".*-"
+ $TARGET_ARCH = $TARGET_ARCH -replace "\..*$"
$TARGET_OS = $TARGET_OS -replace "-.*"
+ $TARGET_OS = $TARGET_OS -replace "\..*$"
if (($(STRINGS-Is-Empty "${TARGET_OS}") -eq 0) -or
($(STRINGS-Is-Empty "${TARGET_ARCH}") -eq 0) -or
fixed in 004aaae86688a36f6653a341248d9677e5018379
Description
as titled.
Expected Behavior
both are not picking up anymore extensions.
Current Behavior
both only picks up the extension in chained extensions mode.
Steps to Reproduce [COMPULSORY]
Associated Data Files
No response