[citemplates] Revert "flatpak: move purge of build publish to the after_script"



commit f7bd237139d0aa567b848c12d3b65a9d15db25b5
Author: Jordan Petridis <jpetridis gnome org>
Date:   Thu Jul 2 13:12:33 2020 +0000

    Revert "flatpak: move purge of build publish to the after_script"
    
    This reverts commit 2d93f05661208c1e312273d49626217aca2b4b9b

 flatpak/flatpak_ci_initiative.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 9c5e585..7a27f13 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -71,9 +71,9 @@
     - tar xf repo.tar
     - flatpak build-update-repo --generate-static-deltas repo/
     - BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
-    - flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/
-  after_script:
+    - flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
     - flat-manager-client purge ${BUILD_ID}
+    - exit $result
   variables:
     FLAT_MANAGER_URL: https://nightly.gnome.org/
     FLATPAK_REPO: nightly


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]