From c320c4efe3ebc7b253aa23a51c0332fd09d8bbda Mon Sep 17 00:00:00 2001 From: "Craig S. Cottingham" Date: Sun, 18 Aug 2019 01:00:13 -0500 Subject: [PATCH] Final (?) fixes for Heroku deployment - force prod env in Distillery release - bump version number --- .gitignore | 1 + lib/kerbal_maps_web/controllers/page_controller.ex | 2 +- rel/config.exs | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c5aa472..4a64972 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ npm-debug.log /.byebug_history /priv/repo/seeds_*.exs /rel/BUILD-INFO +/rel/kerbal_maps diff --git a/lib/kerbal_maps_web/controllers/page_controller.ex b/lib/kerbal_maps_web/controllers/page_controller.ex index 563a6ff..94d9467 100644 --- a/lib/kerbal_maps_web/controllers/page_controller.ex +++ b/lib/kerbal_maps_web/controllers/page_controller.ex @@ -27,7 +27,7 @@ defmodule KerbalMapsWeb.PageController do # :application.which_applications() # |> Enum.find(fn t -> elem(t, 0) == :kerbal_maps end) # |> elem(2) - "0.4.0" + "0.4.3" end # %{"body" => "Kerbin", "loc" => "12.34,-56.78"} diff --git a/rel/config.exs b/rel/config.exs index 9fc799b..6f3ab38 100644 --- a/rel/config.exs +++ b/rel/config.exs @@ -9,9 +9,9 @@ use Mix.Releases.Config, # This sets the default release built by `mix release` - default_release: :default, + default_release: :kerbal_maps, # This sets the default environment used by `mix release` - default_environment: Mix.env() + default_environment: :prod # For a full list of config options for both releases # and environments, visit https://hexdocs.pm/distillery/config/distillery.html