Will the app automatically end my ride?

Yes, as soon as you reach the finish of the distance you have chosen, the app will automatically end your ride. You don't have to finish the ride manually.