From b42d7de6d9c0b76c18e93acaf7171e5cfc6dbaf2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com> Date: Mon, 15 Apr 2024 13:32:24 +0200 Subject: [PATCH] Add more details about Git tags for CI/CD builds Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com> --- OrangeDesignSystemDemo/fastlane/Fastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OrangeDesignSystemDemo/fastlane/Fastfile b/OrangeDesignSystemDemo/fastlane/Fastfile index 283b28eb..8623f063 100644 --- a/OrangeDesignSystemDemo/fastlane/Fastfile +++ b/OrangeDesignSystemDemo/fastlane/Fastfile @@ -204,7 +204,9 @@ platform :ios do commitHash=params[:commitHash] puts "👉 Build and upload (commit hash = #{commitHash})" - # If already build, prevents to build again for nothing + # If already built, prevents to build again for nothing + # Warning: tag is done before build and not remove, so if build failed, tag will remain and needs to be remove manualy. + # It prevents to have loops of failing builds. if tag_ci_build(commitHash) # Ensure this build-then-uploaded app has a new and unique build number matching also to code version update_build_number