AutomataCI icon indicating copy to clipboard operation
AutomataCI copied to clipboard

Package CI job's Flatpak on Windows forgot to "return 0" when assembly is skipped

Open hollowaykeanho opened this issue 11 months ago • 1 comments

Description

As noted here:

diff --git a/automataCI/_package-flatpak_windows-any.ps1 b/automataCI/_package-flatpak_windows-any.ps1
index 7a38b0e..766e8d5 100644
--- a/automataCI/_package-flatpak_windows-any.ps1
+++ b/automataCI/_package-flatpak_windows-any.ps1
@@ -96,6 +96,7 @@ function PACKAGE-Run-FLATPAK {
        10 {
                $null = I18N-Assemble-Skipped
                $null = FS-Remove-Silently "${_src}"
+               return 0
        } 0 {
                # accepted
        } default {

Expected Behavior

work as expected.

Current Behavior

buggy.

Steps to Reproduce [COMPULSORY]

  1. Create a shell script with any-any naming.
  2. Observe the Flatpak packaging fails.

Associated Data Files

No response

hollowaykeanho avatar Apr 01 '24 02:04 hollowaykeanho