Skip to content

Commit

Permalink
Add more details about Git tags for CI/CD builds
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pylapp committed Apr 15, 2024
1 parent 526eb6a commit b42d7de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OrangeDesignSystemDemo/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b42d7de

Please sign in to comment.