This commit is contained in:
Mayel de Borniol 2024-04-16 11:13:24 +01:00
parent b95cbd329d
commit d3a1aeeeca
2 changed files with 9 additions and 7 deletions

View file

@ -72,7 +72,7 @@ jobs:
run: sudo apt-get update -y && sudo apt-get install -y cargo && cargo install just && echo "/github/home/.cargo/bin" >> $GITHUB_PATH
-
name: Pre-build prep
run: just rel-prepare
run: just _rel-prepare
-
name: Build and push
id: docker_build
@ -146,24 +146,26 @@ jobs:
name: Check tools
run: |
echo $PATH
whoami
which erl
elixir -v
just --version
yarn -v
mix local.hex --force
mix local.rebar --force
-
name: Install Bonfire deps
run: |
just config
mix local.hex --force
mix local.rebar --force
just mix "deps.get --only prod"
-
name: Build app
run: |
ls -la data/current_flavour/config/flavour_assets/ && data/current_flavour/config/flavour_assets/hooks/
ls -la data/current_flavour/config/flavour_assets/
ls -la data/current_flavour/config/flavour_assets/hooks/
just rel-build
ls -la data/current_flavour/config/flavour_assets/ && data/current_flavour/config/flavour_assets/hooks/
ls -la data/current_flavour/config/flavour_assets/
ls -la data/current_flavour/config/flavour_assets/hooks/
cd _build/prod/rel && tar -czvf bonfire-${{ env.FLAVOUR }}-amd64-debian-bullseye.tar.gz bonfire
- name: Release to github
uses: softprops/action-gh-release@v2

View file

@ -157,7 +157,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.49",
version: "0.9.10-beta.50",
elixir: ">= #{System.get_env("ELIXIR_VERSION", "1.13.4")}",
flavour: @flavour,
default_flavour: @default_flavour,