From 1d7ead2fa2769ccc944ed0f7e645ab8572239e72 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sun, 24 Nov 2024 01:16:56 +1100 Subject: [PATCH] write last_release output --- .../ddg_apple_automation/helper/ddg_apple_automation_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb index 9712870..680e7cc 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb @@ -137,6 +137,7 @@ def self.prepare_hotfix_branch(github_token, platform, other_action, options) client = Octokit::Client.new(access_token: github_token) latest_public_release = client.latest_release(Helper::GitHelper.repo_name(platform)) version = latest_public_release.tag_name + Helper::GitHubActionsHelper.set_output("last_release", version) UI.user_error!("Unable to find latest release to hotfix") unless version source_version = validate_version_exists(version) new_version = validate_hotfix_version(source_version)