Skip to content

Commit d1cea6e

Browse files
committed
chore: finalize v0.3.1 release metadata and installer docs
1 parent 5a1e156 commit d1cea6e

5 files changed

Lines changed: 37 additions & 31 deletions

File tree

README.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<strong>简体中文</strong> | <a href="docs/README_EN.md">English</a>
88
</p>
99
<p align="center"><img src="https://img.shields.io/badge/License-CNC--1.0-red.svg" /> <img src="https://img.shields.io/badge/Python-3.11-3776AB?logo=python&logoColor=white" /> <img src="https://img.shields.io/badge/FastAPI-0.110-009688?logo=fastapi&logoColor=white" /> <img src="https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js&logoColor=white" /> <img src="https://img.shields.io/badge/Vite-7-646CFF?logo=vite&logoColor=white" /> <img src="https://img.shields.io/badge/Docker-ready-2496ED?logo=docker&logoColor=white" /></p>
10-
<p align="center"><strong>当前稳定版本:v0.3.0</strong> | <a href="https://github.com/yukkcat/gemini-business2api/releases/tag/v0.3.0">发布说明</a> | <a href="https://github.com/yukkcat/gemini-business2api/releases">全部版本</a></p>
10+
<p align="center"><strong>当前稳定版本:v0.3.1</strong> | <a href="https://github.com/yukkcat/gemini-business2api/releases/tag/v0.3.1">发布说明</a> | <a href="https://github.com/yukkcat/gemini-business2api/releases">全部版本</a></p>
1111

1212
> [!IMPORTANT]
1313
> **v0.3.0** 起,主线仓库已彻底归为 **2API 主线**
@@ -152,33 +152,36 @@ docker compose up -d
152152
docker compose --profile refresh up -d
153153
```
154154

155-
### 方式二:交互式安装脚本(Linux / macOS / WSL / Git Bash)
155+
### 方式二:交互式安装脚本
156156

157-
```bash
158-
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash
159-
```
157+
交互式安装脚本适用于需要命令行引导安装的场景。执行过程中会提示填写或选择以下配置项:
160158

161-
锁定当前正式版:
159+
- 使用 **Docker 部署** 还是 **Python 本地模式**
160+
- 服务端口
161+
- `ADMIN_KEY`
162+
- `DATABASE_URL`
163+
- **是否启用 refresh-worker**
164+
165+
默认安装:
162166

163167
```bash
164-
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/v0.3.0/deploy/install.sh | sudo bash
168+
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash
165169
```
166170

167-
启用 refresh-worker
171+
固定到当前正式版
168172

169173
```bash
170-
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash -s -- --with-refresh
174+
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/v0.3.1/deploy/install.sh | sudo bash
171175
```
172176

173-
### 方式三:Python 本地开发
177+
预设 `refresh-worker` 默认开启:
174178

175179
```bash
176-
git clone https://github.com/yukkcat/gemini-business2api.git
177-
cd gemini-business2api
178-
bash deploy/install.sh --mode python
180+
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash -s -- --with-refresh
179181
```
180182

181-
适合开发、调试和本地修改代码。
183+
> `--with-refresh` 用于将“是否启用 refresh-worker”的默认选项预设为开启,
184+
> 并不代表另一套独立安装流程。
182185
183186
---
184187

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.3.1

docs/README_EN.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a href="../README.md">简体中文</a> | <strong>English</strong>
88
</p>
99
<p align="center"><img src="https://img.shields.io/badge/License-CNC--1.0-red.svg" /> <img src="https://img.shields.io/badge/Python-3.11-3776AB?logo=python&logoColor=white" /> <img src="https://img.shields.io/badge/FastAPI-0.110-009688?logo=fastapi&logoColor=white" /> <img src="https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js&logoColor=white" /> <img src="https://img.shields.io/badge/Vite-7-646CFF?logo=vite&logoColor=white" /> <img src="https://img.shields.io/badge/Docker-ready-2496ED?logo=docker&logoColor=white" /></p>
10-
<p align="center"><strong>Current stable release: v0.3.0</strong> | <a href="https://github.com/yukkcat/gemini-business2api/releases/tag/v0.3.0">Release Notes</a> | <a href="https://github.com/yukkcat/gemini-business2api/releases">All Releases</a></p>
10+
<p align="center"><strong>Current stable release: v0.3.1</strong> | <a href="https://github.com/yukkcat/gemini-business2api/releases/tag/v0.3.1">Release Notes</a> | <a href="https://github.com/yukkcat/gemini-business2api/releases">All Releases</a></p>
1111

1212
> [!IMPORTANT]
1313
> Since **v0.3.0**, the repository mainline has been fully narrowed into a **2API-focused mainline**:
@@ -152,33 +152,36 @@ Enable `refresh-worker` if needed:
152152
docker compose --profile refresh up -d
153153
```
154154

155-
### Option 2: Interactive Installer (Linux / macOS / WSL / Git Bash)
155+
### Option 2: Interactive installer script
156156

157-
```bash
158-
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash
159-
```
157+
The interactive installer is intended for guided command-line setup. During execution it prompts for the following configuration items:
160158

161-
Pin the current stable release:
159+
- whether to use **Docker deployment** or **local Python mode**
160+
- which service port to use
161+
- the `ADMIN_KEY`
162+
- the `DATABASE_URL`
163+
- **whether to enable refresh-worker**
164+
165+
Default install:
162166

163167
```bash
164-
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/v0.3.0/deploy/install.sh | sudo bash
168+
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash
165169
```
166170

167-
Enable `refresh-worker`:
171+
Pin to the current stable release:
168172

169173
```bash
170-
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash -s -- --with-refresh
174+
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/v0.3.1/deploy/install.sh | sudo bash
171175
```
172176

173-
### Option 3: Local Python Development
177+
Preset `refresh-worker` to enabled by default:
174178

175179
```bash
176-
git clone https://github.com/yukkcat/gemini-business2api.git
177-
cd gemini-business2api
178-
bash deploy/install.sh --mode python
180+
curl -fsSL https://raw.githubusercontent.com/yukkcat/gemini-business2api/main/deploy/install.sh | sudo bash -s -- --with-refresh
179181
```
180182

181-
Best for development, debugging, and local code iteration.
183+
> `--with-refresh` only presets the default answer for enabling refresh-worker.
184+
> It does not represent a separate installation flow.
182185
183186
---
184187

frontend/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gemini-business2api",
33
"private": true,
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)