Edeliver reverts to original release after restart, ignoring upgrades

Hi,

After deploying a release with edeliver and subsequently building and deploying some upgrades, I’m finding that if I mix edeliver restart production, and I then visit the url, I am receiving the original release, without the upgrades applied.

However, if I then do mix edeliver version production the output is the version corresponding to the latest upgrade - which isn’t what is being served.

I then have to deploy each upgrade again in order to get back to where I was.

Is this expected behavior?

Is there a way to restart production so as to take into account each upgrade that has previously been deployed?

OTP 23
Elixir 1.10.1

Thanks