generate upgrade releases

This commit is contained in:
byte[] 2019-12-07 13:09:23 -05:00
parent acef7b0902
commit b485e4170a

View file

@ -38,6 +38,6 @@ fi
# it will be considered an upgrade # it will be considered an upgrade
export PHILOMENA_VERSION="0.1.$(date +%s)" export PHILOMENA_VERSION="0.1.$(date +%s)"
mix distillery.release || die "failed to generate release" mix distillery.release --upgrade || die "failed to generate release"
_build/prod/rel/philomena/bin/philomena upgrade $PHILOMENA_VERSION || die "failed to upgrade app; log in to the server and restart the app manually" _build/prod/rel/philomena/bin/philomena upgrade $PHILOMENA_VERSION || die "failed to upgrade app; log in to the server and restart the app manually"