Skip to content

Commit

Permalink
Working on Fastlane changes for the lefacy app
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan committed Jun 27, 2024
1 parent 0d603de commit 1bea9c1
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -170,32 +170,24 @@ platform :ios do

# merge into main and tag if not a feature build
if !options[:isfeaturebuild]
sh 'git checkout main && git merge develop --no-ff'
add_git_tag(
message: changelog,
tag: version.to_s
)
push_to_git_remote(tags: true)
sh 'git checkout develop'

if is_ci?
set_github_release(
api_bearer: ENV['FASTLANE_GITHUB_RELEASE_API_BEARER'],
repository_name: 'openhab/openhab-ios',
name: "#{type.capitalize} version #{version}",
name: "Legacy #{type.capitalize} version #{version}",
tag_name: version.to_s,
description: changelog,
commitish: 'main'
commitish: 'openhab-leagcy'
# upload_assets: no assets supported
)
else
set_github_release(
api_token: ENV['GITHUB_API_TOKEN'],
repository_name: 'openhab/openhab-ios',
name: "#{type.capitalize} version #{version}",
name: "Legacy #{type.capitalize} version #{version}",
tag_name: version.to_s,
description: changelog,
commitish: 'main'
commitish: 'openhab-leagcy'
# upload_assets: no assets supported
)
end
Expand Down

0 comments on commit 1bea9c1

Please sign in to comment.