Generally is openSUSE Leap 15.1 available from the end of May 2019 and the upgrade is an easy going process.
It can be always a good idea
– to look into the upgrade release notes to make sure, you don’t run in any deprecations with your currently running software
– to run a backup or a snapshot of the system, which will going to be upgraded.
After you read the release notes and run a backup, bring your system to the actual patch level:
zypper ref && zypper up
Now you can safe update your repositories to 15.1 version:
sed -i 's/15.0/15.1/' /etc/zypp/repos.d/*
mv /etc/zypp/repos.d/openSUSE-15.0.0.repo /etc/zypp/repos.d/openSUSE-15.1.0.repo
The move step can fail, if your repository file name is different from the default one. But this is not a problem at all.
Refresh the just replaces repos and run the upgrade process:
zypper refresh && zypper dup
You system have to be restarted once, to take all changes in effect and run actual system.