jmalcloud-view/.github/release-drafter.yml
2024-06-09 22:58:32 +08:00

40 lines
1.0 KiB
YAML

# .github/release-drafter.yml
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '新功能 ✨'
labels:
- 'feature'
- title: '修复 🐛'
labels:
- 'bug'
- title: '优化 🎨️'
labels:
- 'improvement'
change-template: '- $TITLE (#$NUMBER)'
no-changes-template: '- No changes'
template: |
[docker-docker.yml](https://github.com/jamebal/jmal-cloud-server/blob/master/docker-compose.base.yml)
#### 更新前备份数据库
```shell
docker exec -it jmalcloud_mongodb mongodump -d jmalcloud -o /dump/$PREVIOUS_TAG --gzip --quiet
```
```shell
docker-compose pull && docker-compose up -d
```
#### 清理旧镜像
```shell
docker images --filter=reference='jmal/jmalcloud*' --filter "dangling=true" -q | xargs -r docker rmi
```
## Changes in this release:
$CHANGES
**Full Changelog**: [$PREVIOUS_TAG...v$NEXT_PATCH_VERSION](https://github.com/jamebal/jmal-cloud-view/compare/$PREVIOUS_TAG...v$NEXT_PATCH_VERSION)