ChewKeanHo / AutomataCI

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

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

Open hollowaykeanho opened 2 months ago

hollowaykeanho commented 2 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 2 months ago

fixed in 08dc6c00138f771fb39d5ba349f787db45290d49