How to promote code if we use single branch strategy

hi
I would like to implement release management for my project.

How can I achieve tagging and release management using single branch strategy.

I know we can achieve this using github workflow.

feature. -> develop - > release/. -> Master - > hotfix

but I am looking for something as follows with tagging

feature -> Master - > release/ - > hotfix

how to implement auto tagging and bump version for release branches and develop branch automatically.