spaceship/lib/spaceship/connect_api/models/build.rb in fastlane-2.147.0 vs spaceship/lib/spaceship/connect_api/models/build.rb in fastlane-2.148.0
- old
+ new
@@ -156,8 +156,12 @@
end
def post_beta_app_review_submission
return Spaceship::ConnectAPI.post_beta_app_review_submissions(build_id: id)
end
+
+ def expire!
+ return Spaceship::ConnectAPI.patch_builds(build_id: id, attributes: { expired: true })
+ end
end
end
end