Skip to content

Commit

Permalink
build(feat): shorten flag message and tag teams (#9442)
Browse files Browse the repository at this point in the history
shorten flag message and tag teams
  • Loading branch information
brainbicycle authored Oct 18, 2023
1 parent c33e49a commit e4504f5
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions fastlane/utility_fastlane.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,31 +83,24 @@
flag_file = File.read('./flags.json')
flags = JSON.parse(flag_file)
hidden_flags = flags['hiddenFlags']
released_flags = flags['releasedFlags']

hidden_flags_message = ''
hidden_flags.each do |flag_name|
hidden_flags_message += "\n :x: #{flag_name}"
end

released_flags_message = ''
released_flags.each do |flag_name|
released_flags_message += "\n :white_check_mark: #{flag_name}"
end

message = <<~MSG
:checkered_flag: :steam_locomotive:
We are getting ready for an app release!
Are your features ready?
*Features HIDDEN in the upcoming release*:
#{hidden_flags_message}
*Features LIVE in the upcoming release*:
#{released_flags_message}
If you see a feature that should be going out this release that isn't
marked ready please follow the docs here ahead of release QA:
If a feature here should be going out this release please follow the docs here
ahead of release QA:
https://github.com/artsy/eigen/blob/main/docs/developing_a_feature.md#releasing-a-feature
@onyx-devs @phires @amber-devs @diamond-devs @onyx-devs @amber-devs
MSG
slack(message: message, default_payloads: [])
slack(message: message, default_payloads: [], link_names: true)
end

def generate_app_store_connect_api_key
Expand Down

0 comments on commit e4504f5

Please sign in to comment.