4 Commits

  1. 11
      CHANGELOG.md
  2. 5
      README.md
  3. 4
      deploy.sh
  4. 3
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.7.1](https://git.inhji.de/inhji/mirage/compare/v0.7.0...v0.7.1) (2021-02-06)
### Bug Fixes:
* add deploy alias
* push before deploying
## [v0.7.0](https://git.inhji.de/inhji/mirage/compare/v0.6.0...v0.7.0) (2021-02-06)

5
README.md

@ -1,5 +1,10 @@
# Mirage
To generate a release:
* Create a new release commit and generate the changelog with `mix rel`
* Deploy build the release and publish it with `mix deploy`
To start your Phoenix server:
* Install dependencies with `mix deps.get`

4
deploy.sh

@ -1,5 +1,9 @@
#!/usr/bin/env bash
echo ""
echo "Pushing changes..."
echo "--------------------------"
git push
echo ""
echo "Build starting!"
echo "--------------------------"

3
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.7.0"
@version "0.7.1"
def project do
[
@ -66,6 +66,7 @@ defmodule Mirage.MixProject do
defp aliases do
[
rel: ["git_ops.release"],
deploy: ["cmd bash ./deploy.sh"],
setup: ["deps.get", "ecto.setup", "cmd npm install --prefix assets"],
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],

Loading…
Cancel
Save