Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
path: |
dist/*
!dist/win-unpacked
!dist/win-arm64-unpacked

build-linux:
if: github.event.inputs.platform == 'all' || contains(github.event.inputs.platform, 'linux')
Expand Down
53 changes: 26 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ on:
required: true
type: boolean
default: false
use_existing_release:
description: '是否使用已存在的 release?'
required: true
type: boolean
default: false
release_tag:
description: '如果使用已存在的 release,请提供 tag 名称 (如: v1.0.0)'
required: false
type: string

jobs:
create-release:
Expand Down Expand Up @@ -89,29 +80,37 @@ jobs:

ls -la release_assets/

- name: Create New Release
if: ${{ github.event.inputs.use_existing_release != 'true' }}
id: create_new_release
- name: Create Draft Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.get_version.outputs.version }}
name: DeepChat ${{ steps.get_version.outputs.version }}
draft: false
tag_name: workflow-${{ github.event.inputs.workflow_id }}
name: DeepChat V0.2.0
draft: true
prerelease: ${{ github.event.inputs.prerelease }}
files: |
release_assets/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
body: |
# 🚀 DeepChat 0.2.0 正式发布 | 重新定义你的 AI 对话体验!
—— 不再是简单的 ChatBot,而是你的自然语言 Agent 工具🌟

📦 **构建信息**
- Workflow ID: `${{ github.event.inputs.workflow_id }}`
- 版本: `${{ steps.get_version.outputs.version }}`
- 预发布: `${{ github.event.inputs.prerelease }}`
- 构建时间: `${{ github.run_id }}`

🔥 为什么选择 DeepChat?

✅ **商业友好**:基于原版 [Apache License 2.0](https://github.com/ThinkInAIXYZ/deepchat/blob/main/LICENSE) 开源,无任何协议外的额外约束,面向开源。
✅ **开箱即用**:极简配置,即刻开启你的智能对话之旅。
✅ **极致灵活**:自由切换模型,自定义模型源,满足你多样化的对话和探索需求。
✅ **体验绝佳**:LaTeX 公式渲染、代码高亮、Markdown 支持,模型对话从未如此顺畅。
✅ **持续进化**:我们倾听用户反馈,不断迭代更新,为你带来更卓越的 AI 对话体验。

📥 立即体验未来

💬 反馈有礼:欢迎提交你的宝贵建议,加入 VIP 用户社群,与我们一同塑造 DeepChat 的未来!
<img width="400px" src="https://github.com/user-attachments/assets/2ebc21e8-3eef-4a11-b3ab-de28e8f9d9c0"/>

- name: Upload To Existing Release
if: ${{ github.event.inputs.use_existing_release == 'true' }}
id: upload_existing_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.event.inputs.release_tag }}
draft: false
prerelease: ${{ github.event.inputs.prerelease }}
files: |
release_assets/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}