Problem getting apt-get working when changing to bintray

I’ve moved so my openhab2 is not up to date.
Among other things the repository has moved and now I just can’t figure out how to get apt-get to work again.
I thought it would be as easy as

wget -qO - '' | sudo apt-key add -

and then

echo 'deb unstable main' | sudo tee /etc/apt/sources.list.d/openhab2.list

followed by

sudo apt-get update
sudo apt-get upgrade

but that changes nothing

doing the same thing with

echo 'deb testing main' | sudo tee /etc/apt/sources.list.d/openhab2.list

gets me the 2.0.0.b5 Release Build

Does this have something to do with originally installing openhab2-offline?

You probably have to remove openhab2-offline and reinstall using just openhab2 as the packages have changed. There is no longer a separate online/offline distro. If you want to get a version that works like the old offline also install openhab2-addons.

Yes, that was what I ended up doing.