Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Nov 14, 2024
1 parent 4c7d496 commit 25a2f24
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ lane :build_flavor do |params|
when 'github'
set_github_release(
repository_name: repository_name,
api_token: ENV["GH_TOKEN"] || ENV["GITHUB_TOKEN"],
api_bearer: ENV["GH_TOKEN"] || ENV["GITHUB_TOKEN"],
name: "v#{version} Build #{versionCode}",
tag_name: tag,
description: changelog,
Expand All @@ -171,18 +171,6 @@ lane :build_flavor do |params|
# end
when 'alpha','beta','production'
upload_store(changelog:changelog, version: version, versionCode: versionCode, flavor:flavor, options:options, build_output:build_output)
if (platform == 'ios' && options[:github] != false)
# we now github create releases on iOS for european users
changelog = get_changelog(platform:platform, flavor:flavor, format:'markdown')
set_github_release(
repository_name: repository_name,
api_token: ENV["GH_TOKEN"],
name: "#{app_name}(#{platform}): v#{version} Build #{versionCode}",
tag_name: tag,
description: changelog,
upload_assets: Dir.glob(File.join(dist_path, "*.ipa"))
)
end
end
if (options[:create_tag] != false)
if !git_tag_exists(tag: tag)
Expand Down

0 comments on commit 25a2f24

Please sign in to comment.