Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Fixing mix release related bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tylersamples committed Feb 18, 2019
1 parent 9ccddcb commit d595727
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 59 deletions.
52 changes: 0 additions & 52 deletions lib/distillery/providers/json.ex

This file was deleted.

3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ defmodule Courtbot.Mixfile do
def application do
[
mod: {Courtbot.Application, []},
extra_applications: [:logger, :runtime_tools]
extra_applications: [:logger, :runtime_tools, :hackney, :jason],
included_applications: [:rollbax]
]
end

Expand Down
6 changes: 1 addition & 5 deletions rel/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ release :courtbot do
]
)

set overlays: [
{:copy, "rel/config/courtbot.exs", "etc/courtbot.exs"}
]

set(
applications: [
:runtime_tools
Expand All @@ -70,7 +66,7 @@ release :courtbot do

set(
config_providers: [
{Distillery.Json.Provider, [path: "${RELEASE_ROOT_DIR}/etc/courtbot.json"]},
{Mix.Releases.Config.Providers.Elixir, ["${RELEASE_ROOT_DIR}/etc/courtbot.exs"]},
{Mix.Releases.Config.Providers.Elixir, ["${RELEASE_ROOT_DIR}/etc/courtbot.secrets.exs"]}
]
)
Expand Down
2 changes: 1 addition & 1 deletion rel/hooks/pre_start.d/00_migrate.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

release_ctl eval --mfa "Distillery.Hooks.Migrate.run/0"
release_ctl eval --mfa "Distillery.Hooks.Migrations.run/0"

0 comments on commit d595727

Please sign in to comment.