Skip to content

Commit f6b76b7

Browse files
author
zyjarge
committed
Update installation scripts and improve documentation for MacOS/Linux and Windows. Corrected URLs to point to the 'master' branch, ensuring consistency in installation instructions. Enhanced user experience by clarifying installation processes and removing outdated information.
1 parent ce35d5f commit f6b76b7

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

.github/workflows/release.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*' # 当推送 v 开头的标签时触发,如 v1.1.0
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0 # 获取完整的 git 历史用于生成变更日志
18+
19+
- name: Get version from tag
20+
id: get_version
21+
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
22+
23+
- name: Get Changelog Entry
24+
id: changelog_reader
25+
uses: mindsers/changelog-reader-action@v2
26+
with:
27+
version: ${{ steps.get_version.outputs.VERSION }}
28+
path: ./CHANGELOG.md
29+
30+
- name: Create Release
31+
uses: softprops/action-gh-release@v1
32+
with:
33+
name: AIDO ${{ steps.get_version.outputs.VERSION }}
34+
body: |
35+
# AIDO ${{ steps.get_version.outputs.VERSION }}
36+
37+
${{ steps.changelog_reader.outputs.changes }}
38+
39+
## 安装方法
40+
41+
```bash
42+
# MacOS/Linux
43+
curl -fsSL https://raw.githubusercontent.com/zyjarge/aido/master/install.sh | bash
44+
45+
# Windows (在管理员权限的 PowerShell 中运行)
46+
Set-ExecutionPolicy RemoteSigned -Scope Process
47+
iwr -useb https://raw.githubusercontent.com/zyjarge/aido/master/install.ps1 | iex
48+
```
49+
50+
## 文档
51+
详细使用说明请查看 [README.md](https://github.com/zyjarge/aido/blob/master/README.md)
52+
draft: false
53+
prerelease: false
54+
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [v1.1.0] - 2024-01-20
6+
7+
### 新特性 ✨
8+
9+
#### 1. 多轮对话模式
10+
- 新增交互式对话界面,支持连续对话
11+
- 实现完整的对话历史记录,保持上下文连贯性
12+
- 支持 Ctrl+C 优雅退出,自动发送告别消息
13+
- 使用 prompt_toolkit 优化中文输入体验
14+
15+
#### 2. 界面优化 🎨
16+
- 重新设计对话框样式,提升视觉体验
17+
- 优化用户消息显示效果,采用清晰的白色字体
18+
- 改进 AI 响应格式,使用醒目的黄色标题
19+
- 添加思考状态提示,展示更友好的等待反馈
20+
- 优化时间戳和表情图标的展示
21+
22+
#### 3. 安装部署 🚀
23+
- 重构安装脚本,支持一键式安装
24+
- 新增依赖自动检测(Python3, Git)
25+
- 优化清华镜像源的使用,提升安装速度
26+
- 完善权限检查和错误处理
27+
- 自动备份已存在的安装
28+
- 改进环境变量配置
29+
30+
## [v1.0.0] - 2024-01-15
31+
32+
### 初始发布 🎉
33+
- 基本的命令行翻译功能
34+
- 支持单次查询模式
35+
- DeepSeek API 集成
36+
- 基础安装脚本

0 commit comments

Comments
 (0)