diff --git a/.gitignore b/.gitignore index c9314b7..d93b612 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ # pixi environments .pixi +mailpit diff --git a/Justfile b/Justfile index 21fe940..36f9de1 100644 --- a/Justfile +++ b/Justfile @@ -49,3 +49,14 @@ release version: dbuild docker push {{ remote_image_name }}:{{ version }} git tag -a v{{ version }} -m "" git push --tags + +# MAILPIT PART +mailpit_version := "v1.11.0" +mailpit_archi := "linux-amd64" +mailpit_output := "mailpit-" + mailpit_version + "-" + mailpit_archi + ".tar.gz" + +# Retrive mailpit bin +get-mail-wrapper: + echo {{mailpit_output}} + curl -L https://github.com/axllent/mailpit/releases/download/{{mailpit_version}}/mailpit-{{mailpit_archi}}.tar.gz --output {{mailpit_output}} + tar xf {{mailpit_output}} mailpit