update version info

pull/398/head
Michael Li 9 months ago
parent 88d43157e3
commit ce237b4d63
No known key found for this signature in database

@ -1,7 +1,10 @@
# Changelog # Changelog
All notable changes to paopao-ce are documented in this file. All notable changes to paopao-ce are documented in this file.
## 0.5.0+dev ([`dev`](https://github.com/rocboss/paopao-ce/tree/dev)) ## 0.6.0+dev ([`dev`](https://github.com/rocboss/paopao-ce/tree/dev))
TODO;
## 0.5.0
### Added ### Added
- add `LoggerOpenObserve` feature use OpenObserve to collect log.[#370](https://github.com/rocboss/paopao-ce/pull/370) - add `LoggerOpenObserve` feature use OpenObserve to collect log.[#370](https://github.com/rocboss/paopao-ce/pull/370)
add `LoggerOpenObserve` to `conf.yaml` 's `Features` section to enable this feature like below: add `LoggerOpenObserve` to `conf.yaml` 's `Features` section to enable this feature like below:
@ -187,6 +190,9 @@ All notable changes to paopao-ce are documented in this file.
``` ```
- add read more contents support for post card in tweets list. - add read more contents support for post card in tweets list.
### Changed
- optimize jwt token generate logic.
## 0.4.2 ## 0.4.2
### Fixed ### Fixed
- fixed remove multi-objects no effects and occurs resource leak error when use Minio as OSS(Object Storage System).[#371](https://github.com/rocboss/paopao-ce/pull/371) [#372](https://github.com/rocboss/paopao-ce/pull/372) - fixed remove multi-objects no effects and occurs resource leak error when use Minio as OSS(Object Storage System).[#371](https://github.com/rocboss/paopao-ce/pull/371) [#372](https://github.com/rocboss/paopao-ce/pull/372)

@ -288,7 +288,7 @@ make run TAGS='docs'
```sh ```sh
cp config.yaml.sample config.yaml cp config.yaml.sample config.yaml
vim config.yaml # 修改参数 vim config.yaml # 修改参数
paopao-ce paopao serve
``` ```
配置文件中的 `Features` 小节是声明paopao-ce运行时开启哪些功能项: 配置文件中的 `Features` 小节是声明paopao-ce运行时开启哪些功能项:

@ -56,7 +56,7 @@
## paopao-ce-plus roadmap ## paopao-ce-plus roadmap
#### paopao-ce-plus/v0.5.0 #### paopao-ce-plus/v0.5.0
* [ ] adapt for paopao-ce v0.4.0 * [x] adapt for paopao-ce v0.5.0
#### paopao-ce-plus/v0.4.0 #### paopao-ce-plus/v0.4.0
* [x] adapt for paopao-ce v0.4.0 * [x] adapt for paopao-ce v0.4.0

@ -124,7 +124,7 @@ services:
# - paopao-network # - paopao-network
backend: backend:
image: bitbus/paopao-ce:0.5.0-rc image: bitbus/paopao-ce:0.5
restart: always restart: always
depends_on: depends_on:
- db - db

@ -9,7 +9,7 @@ import (
) )
const ( const (
series = "v0.5.0-rc" series = "v0.5"
) )
var ( var (
@ -28,7 +28,7 @@ type BuildInfo struct {
} }
func VersionInfo() string { func VersionInfo() string {
return fmt.Sprintf("paopao %s (build:%s %s)", series, commitID, buildDate) return fmt.Sprintf("paopao %s (build:%s %s)", version, commitID, buildDate)
} }
func ReadBuildInfo() *BuildInfo { func ReadBuildInfo() *BuildInfo {

Loading…
Cancel
Save