Skip to content

Commit

Permalink
愚人节快乐
Browse files Browse the repository at this point in the history
  • Loading branch information
FishGoddess committed Apr 1, 2024
1 parent 550acec commit 6db0ff9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## ✒ 历史版本的特性介绍 (Features in old versions)

### v0.4.2-alpha

> 此版本发布于 2024-04-01
* 支持 TLS 安全连接
* 部分细节优化,完善配置注释

### v0.4.1-alpha

> 此版本发布于 2024-03-28
Expand Down
32 changes: 16 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
.PHONY: test fmt proto postar postaradmin build clean all
.PHONY: all fmt test build clean proto postar postaradmin

VERSION=v0.4.1-alpha
VERSION=v0.4.2-alpha

test:
go mod tidy
go test -cover ./...
all:
make test && make clean && make build

fmt:
go fmt ./...

proto:
cd api && buf build && buf generate

postar:
go mod tidy
go run cmd/postar/main.go -conf ./configs/postar.toml

postaradmin:
test:
go mod tidy
go run cmd/postar-admin/main.go -conf ./configs/postar_admin.toml
go test -cover ./...

build:
go mod tidy
Expand All @@ -29,5 +21,13 @@ build:
clean:
rm -rf ./target

all:
make test && make clean && make build
proto:
cd api && buf build && buf generate

postar:
go mod tidy
go run cmd/postar/main.go -conf ./configs/postar.toml

postaradmin:
go mod tidy
go run cmd/postar-admin/main.go -conf ./configs/postar_admin.toml
2 changes: 1 addition & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
### 🥇 Features

* Plain and HTML form email supports
* Synchronous/Asynchronous mode supports, and timeout is available in synchronous mode
* Multi spaces supports, accounts and templates configuration supports
* Support http/grpc protocol
* Gracefully shutdown with signal mechanism

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
### 🥇 功能特性

* 支持发送文本邮件和 HTML 邮件
* 支持同步、异步邮件发送,同步模式可配置超时
* 多业务空间隔离机制,支持账号和模板独立配置
* 支持 http/grpc 等网络协议
* 支持 signal 通知的平滑下线

Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
package postar

const (
Version = "v0.4.1-alpha"
Version = "v0.4.2-alpha"
)

0 comments on commit 6db0ff9

Please sign in to comment.