Skip to content

Commit

Permalink
0.9.10-beta.111
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Jul 16, 2024
1 parent 1a9690d commit 0a665d3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Docker*
docker*
.parcel-cache
assets/.parcel-cache
README*
lib/mix/tasks
lib/web
priv/static
Expand Down
12 changes: 7 additions & 5 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ RUN MIX_ENV=prod mix deps.clean needle_ulid jason poison --build
# compile app (needs to be before building assets so it includes Surface hooks & component CSS)
RUN MIX_ENV=prod mix compile

# generate exdocs so they can be included in the code archive
RUN MIX_ENV=prod mix docs

# Include any migrations provided by flavour (maybe not needed?)
# COPY --link data/current_flavour/repo priv/repo
RUN mkdir -p priv/repo/migrations
Expand All @@ -136,8 +133,13 @@ RUN MIX_ENV=prod mix bonfire.extension.copy_migrations --force --to priv/repo/mi

# docs/guides
COPY --link LICENSE ./
COPY --link ./*.md ./
COPY --link docs/*.md ./docs/
COPY --link README.md ./
COPY --link assets/static/images/bonfire-icon.png assets/static/images/bonfire-icon.png
COPY --link docs docs
RUN ls -la ./

# generate exdocs so they can be included in the code archive
RUN MIX_ENV=prod mix docs

# include an archive of the source code
RUN mkdir -p apps/
Expand Down
11 changes: 7 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ defmodule Bonfire.Umbrella.MixProject do
@maybe_image_vix ++
[
{:ex_aws, git: "https://github.com/bonfire-networks/ex_aws", override: true},

# compilation
# {:tria, github: "hissssst/tria"},

Expand All @@ -59,7 +60,7 @@ defmodule Bonfire.Umbrella.MixProject do
#
# {:exsync, git: "https://github.com/falood/exsync", only: :dev},
# {:mix_unused, "~> 0.4", only: :dev}, # find unused public functions
{:ex_doc, "~> 0.34.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34.0", runtime: false},
{:ecto_erd, "~> 0.4", only: :dev},
{:excellent_migrations, "~> 0.1", only: [:dev, :test], runtime: false},
# {:ecto_dev_logger, "~> 0.7", only: :dev},
Expand Down Expand Up @@ -141,7 +142,7 @@ defmodule Bonfire.Umbrella.MixProject do

# |> Mixer.log(limit: :infinity)

@extra_release_apps @deps
@extra_release_apps ((@deps
|> Enum.filter(fn
{_dep, opts} when is_list(opts) ->
opts[:runtime] == false and
Expand All @@ -156,7 +157,9 @@ defmodule Bonfire.Umbrella.MixProject do
end)
# Mixer.other_flavour_sources()
|> Mixer.deps_names_list()
|> Enum.reject(&(&1 == :bonfire))
|> Enum.reject(&(&1 in [:bonfire, :ex_doc])))
# ++ [:phoenix_live_head, :phoenix_live_favicon] # to avoid error with ex_doc being set to :load
)
|> Enum.map(&{&1, :load})
|> Mixer.log("disabled extensions to still include in release")

Expand Down Expand Up @@ -187,7 +190,7 @@ defmodule Bonfire.Umbrella.MixProject do
# TODO: put these in ENV or an external writeable config file similar to deps.*
@config [
# note that the flavour will automatically be added where the dash appears
version: "0.9.10-beta.110",
version: "0.9.10-beta.111",
elixir: ">= #{System.get_env("ELIXIR_VERSION", "1.13.4")}",
flavour: @flavour,
default_flavour: @default_flavour,
Expand Down

0 comments on commit 0a665d3

Please sign in to comment.