Skip to content

Commit

Permalink
rel
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Feb 16, 2024
1 parent a28950d commit 0a0cc43
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
docker:
strategy:
matrix:
flavour: ["classic", "community"] # , "cooperation"]
flavour: ["classic"] # , "community", "cooperation"]
platforms: ["linux/amd64"] #, "linux/arm/v7,linux/arm64,linux/amd64"] # , "linux/arm64"
include:
- platforms: "linux/amd64"
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ COPY lib lib
# COPY assets assets
# RUN ls -la assets/static

# workaround for compilation error
RUN MIX_ENV=prod mix deps.clean needle_ulid --build
# workaround for compilation errors
RUN MIX_ENV=prod mix deps.clean needle_ulid jason poison --build

# compile protocols (attempted fix for 'could not load module Poison.Encoder due to reason :unavailable')
# RUN MIX_ENV=prod mix compile.protocols
# compile app (needs to be before building assets so it includes Surface hooks & component CSS)
RUN MIX_ENV=prod mix compile

Expand Down
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ rel-init:
mkdir -p data
rm -rf flavours/*/config/*/dev
cp -rfL flavours/classic data/current_flavour
cp -rfL $FLAVOUR_PATH/* data/current_flavour
cp -rfL extensions/bonfire/deps.* data/current_flavour/config/ || cp -rfL deps/bonfire/deps.* data/current_flavour/config/
cp -rfL $FLAVOUR_PATH/* data/current_flavour/

# copy current flavour's config, without using symlinks
@rel-prepare: rel-config-prepare
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ defmodule Bonfire.Umbrella.MixProject do
@default_flavour "classic"
@config [
# note that the flavour will automatically be added where the dash appears
version: "0.9.8-beta.32",
version: "0.9.8-beta.33",
elixir: ">= #{System.get_env("ELIXIR_VERSION", "1.13.4")}",
default_flavour: @default_flavour,
logo: "assets/static/images/bonfire-icon.png",
Expand Down

0 comments on commit 0a0cc43

Please sign in to comment.