From 79302906b5733ae2292a61174d15ce4cb00bba1f Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 7 Dec 2019 13:16:28 -0500 Subject: [PATCH] touch mix.exs so it will reread the version --- post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-receive b/post-receive index 55bb3b14..26162f05 100755 --- a/post-receive +++ b/post-receive @@ -37,7 +37,7 @@ fi # Generate release name to always be the current timestamp so that # it will be considered an upgrade export PHILOMENA_VERSION="0.1.$(date +%s)" - +touch mix.exs 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" \ No newline at end of file