In case you need a shell script to update your own Forgejo instance, I’ve just uploaded mine to Codeberg.1
The specific reason: There have been a series of updates in quick succession over the past days.2 I noticed some people expressing frustration about having to redo all their updates all over again.

This is exactly what automation is for: A clearly defined, reproducible update process saves time, reduces errors and ensures a more relaxed approach. And Forgejo, with its single-file binary, couldn’t be easier to deal with.
The script is freely available and can be used as a basis or inspiration for your individual customizations.
Best regards,
Tomas Jakobs