Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
CDRussell committed Oct 21, 2019
1 parent 30715ed commit 2cdf9cf
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,19 @@ You can always reach us at https://duckduckgo.com/feedback.""")

git_commit(path: "*", message: "Updated release notes and version number for new release - #{newVersion}")

prompt(text:"If you have any other changes to make to the release branch, do them now. Hit ENTER when ready...")
if UI.confirm(text:"If you have any other changes to make to the release branch, do them now. Enter `y` when ready to create and push tags")

sh "git flow release finish -mnFS '#{newVersion}' '#{newVersion}'"
add_git_tag(tag: "#{newVersion}")
push_git_tags
sh "git flow release finish -mnFS '#{newVersion}' '#{newVersion}'"
#push_git_tags

sh "git push origin master"
sh "git push origin develop"
sh "git push origin master"
sh "git push origin develop"

UI.header("#{newVersion} has been successfully released 🎉")
UI.header("#{newVersion} has been successfully released 🎉")

else
UI.error "Release cancelled 😢"
end

else
UI.error "Release cancelled 😢"
Expand Down

0 comments on commit 2cdf9cf

Please sign in to comment.