Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Working on Fastlane changes for the legacy app #765

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading