This will verify if a given release version is available on GitHub

This will return all information about a release. For example: {"url"=>"", "assets_url"=>"", "upload_url"=>"{?name}", "html_url"=>"", "id"=>1537713, "tag_name"=>"1.8.0", "target_commitish"=>"master", "name"=>"1.8.0 Switch Lanes & Pass Parameters", "draft"=>false, "author"=> {"login"=>"KrauseFx", "id"=>869950, "avatar_url"=>"", "gravatar_id"=>"", "url"=>"", "html_url"=>"", "followers_url"=>"", "following_url"=>"{/other_user}", "gists_url"=>"{/gist_id}", "starred_url"=>"{/owner}{/repo}", "subscriptions_url"=>"", "organizations_url"=>"", "repos_url"=>"", "events_url"=>"{/privacy}", "received_events_url"=>"", "type"=>"User", "site_admin"=>false}, "prerelease"=>false, "created_at"=>"2015-07-14T23:33:01Z", "published_at"=>"2015-07-14T23:44:10Z", "assets"=>[], "tarball_url"=>"", "zipball_url"=>"", "body"=> ...Markdown... "This is one of the biggest updates of fastlane yet" }

Supported platforms ios, android, mac
Author @KrauseFx, @czechboy0, @jaleksynas, @tommeier

1 Example

release = get_github_release(url: "fastlane/fastlane", version: "1.0.0")
puts release["name"]


Key Description Default
url The path to your repo, e.g. 'KrauseFx/fastlane'
server_url The server url. e.g. 'https://your.github.server/api/v3' (Default: '')
version The version tag of the release to check
api_token GitHub Personal Token (required for private repositories)

* = default value is dependent on the user's system

To show the documentation in your terminal, run

fastlane action get_github_release

View source code

Back to actions