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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "endfield-cat",
"private": true,
"version": "0.2.0-pre.6988d549.793cd77",
"version": "0.2.1",
"type": "module",
"engines": {
"node": ">=24 <25"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "endfield-cat"
version = "0.2.0-pre.6988d549.793cd77"
version = "0.2.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

版本号目前在多个文件中手动维护(Cargo.toml, package.json, tauri.conf.json)。为了防止未来出现不一致,可以考虑将 Cargo.toml 作为版本号的唯一真实来源。通过构建脚本(例如 build.rs 或 CI/CD 脚本),可以在构建或发布过程中自动读取此版本号并更新其他文件。这样可以简化版本管理并减少出错的可能性。

description = "A Tauri App"
authors = ["you"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "endfield-cat",
"version": "0.2.0-pre.6988d549.793cd77",
"version": "0.2.1",
"identifier": "org.boxcat.endfield-cat",
"build": {
"beforeDevCommand": "yarn dev",
Expand Down
Loading