I am trying to upgrade my Elixir application with edeliver upgrade
, but an error appears: {:no_matching_relup, '0.1.0+35132c2', '0.1.0+ba8eb26'}
In cmd: mix edeliver upgrade production --verbose --with=0.1.0
AUTO_VERSION
is set to git-revision
RELEASE_VERSION
is set to 0.1.0
The solution is:
RELEASE_VERSION
from edeliver/.config
file mix edeliver version
mix edeliver build upgrade --with=current-version --auto-version=git-revision
with mix edeliver deploy upgrade
instead of mix edeliver upgrade
useful source: http://www.petecorey.com/blog/2017/01/23/upgrade-releases-with-edeliver/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.