Justed tested this scenario and you do need to run the upgrade script. If you replace the files and login, Moodle recognizes that the version changed and allow you to upgrade via the UI.
Installing and upgrading help
Do I need to run the upgrade script on the same version
This discussion has been locked so you can no longer reply to it.