ChewKeanHo / AutomataCI

[MIRROR] An open-source, redistributable, template-guided, and semi-autonomous CI infrastructure readily available your next project.
Apache License 2.0
21 stars 1 forks source link

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

Open hollowaykeanho opened 8 months ago

hollowaykeanho commented 8 months ago

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 commented 8 months ago

fixed in 08dc6c00138f771fb39d5ba349f787db45290d49