forked from Mirroring/github-release-notifier
Just: retrieve mailpit as mail wrapper
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
# pixi environments
|
# pixi environments
|
||||||
.pixi
|
.pixi
|
||||||
|
mailpit
|
||||||
|
|||||||
11
Justfile
11
Justfile
@@ -49,3 +49,14 @@ release version: dbuild
|
|||||||
docker push {{ remote_image_name }}:{{ version }}
|
docker push {{ remote_image_name }}:{{ version }}
|
||||||
git tag -a v{{ version }} -m ""
|
git tag -a v{{ version }} -m ""
|
||||||
git push --tags
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user