3 Commits

  1. 11
      CHANGELOG.md
  2. 1
      lib/mirage_web/live/note_live/show.ex
  3. 4
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.79.2](https://git.inhji.de/inhji/mirage/compare/v0.79.1...v0.79.2) (2021-03-19)
### Bug Fixes:
* remove docs generation from deploy for now
* inspect image after updating
## [v0.79.1](https://git.inhji.de/inhji/mirage/compare/v0.79.0...v0.79.1) (2021-03-18)

1
lib/mirage_web/live/note_live/show.ex

@ -59,6 +59,7 @@ defmodule MirageWeb.NoteLive.Show do
File.cp!(path, new_filename)
{:ok, image} = Mirage.Images.create_image(%{content: "test", note_id: note.id})
{:ok, image} = Mirage.Images.update_image(image, %{name: new_filename})
IO.inspect(image)
Mirage.Images.ImageUploader.url({image.name, image}, :original)
|> IO.inspect()

4
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.79.1"
@version "0.79.2"
def project do
[
@ -80,7 +80,7 @@ defmodule Mirage.MixProject do
rel: ["git_ops.release --yes"],
push: ["cmd bash ./deploy.sh"],
doc: ["cmd bash ./docs.sh"],
deploy: ["doc", "rel", "push"],
deploy: ["rel", "push"],
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