Skip to content

Commit

Permalink
Run android_tag_build before GitHub branch changes.
Browse files Browse the repository at this point in the history
Rationale: Given the state of this project, it's possible that the
GitHub changes will fail (as they did for me just now). By running
`android_tag_build` first, we avoid having to hack the automation to run
it again after a GitHub failure.
  • Loading branch information
mokagio committed Jan 29, 2024
1 parent 7b0c52f commit 38a407f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ UPLOAD_TO_PLAY_STORE_JSON_KEY = File.join(PROJECT_ROOT_FOLDER, '.configure-files
end

push_to_git_remote(tags: false, set_upstream: true)
setbranchprotection(repository:GHHELPER_REPO, branch: "release/#{new_version}")
setfrozentag(repository:GHHELPER_REPO, milestone: new_version)

android_tag_build()

setbranchprotection(repository:GHHELPER_REPO, branch: "release/#{new_version}")
setfrozentag(repository:GHHELPER_REPO, milestone: new_version)
end

#####################################################################################
Expand Down

0 comments on commit 38a407f

Please sign in to comment.