This commit is contained in:
Mayel de Borniol 2024-04-16 12:55:46 +01:00
parent 091d34a8ad
commit b0784b5c43
5 changed files with 14 additions and 10 deletions

View file

@ -46,7 +46,7 @@ jobs:
- name: Install rebar
run: mix local.rebar --force
- name: Prepare environment
run: just pre-setup && just init
run: just _pre-setup && just init
- name: Install dependencies
run: mix deps.get
-

View file

@ -160,13 +160,16 @@ jobs:
just mix "deps.get --only prod"
-
name: Build app
run: |
ls -la data/current_flavour/config/flavour_assets/
ls -la data/current_flavour/config/flavour_assets/hooks/
just _rel-build-OTP remote
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
uses: gacts/run-and-post-run@v1
with:
run: |
ls -la data/current_flavour/config/flavour_assets/
ls -la data/current_flavour/config/flavour_assets/hooks/
just _rel-build-OTP remote
cd _build/prod/rel && tar -czvf bonfire-${{ env.FLAVOUR }}-amd64-debian-bullseye.tar.gz bonfire
post: |
ls -la data/current_flavour/config/flavour_assets/
ls -la data/current_flavour/config/flavour_assets/hooks/
- name: Release to github
uses: softprops/action-gh-release@v2
with:

View file

@ -79,7 +79,7 @@ jobs:
# - name: Remove mix.lock
# run: rm mix.lock
- name: Prepare environment
run: just pre-setup && just init
run: just _pre-setup && just init
- name: Install dependencies
run: mix deps.get
- name: Update Bonfire extensions to latest git versions (just use lockfile in future?)

View file

@ -1,5 +1,6 @@
## GENERAL
bonfire = "https://github.com/bonfire-networks/bonfire_spark"
bonfire_files = "https://github.com/bonfire-networks/bonfire_files"
## EXPERIMENTAL ##
bonfire_label = "https://github.com/bonfire-networks/bonfire_label"

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