Skip to content

Commit

Permalink
added a param to ensure that pre-release builds get marked correctly …
Browse files Browse the repository at this point in the history
…in GH (#443)
  • Loading branch information
aboedo authored Jan 13, 2022
1 parent 18469f4 commit 3e4c8c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,17 @@ platform :android do
fail "please add a CHANGELOG.latest.md file before calling this lane"
end

is_prerelease = new_version_number.include?("-")

set_github_release(
repository_name: "revenuecat/purchases-android",
api_token: ENV["GITHUB_TOKEN"],
name: release_version,
tag_name: "#{release_version}",
description: changelog,
commitish: "main",
upload_assets: []
upload_assets: [],
is_prerelease: is_prerelease
)

tag_release_with_latest_if_needed(release_version: release_version)
Expand Down

0 comments on commit 3e4c8c1

Please sign in to comment.