mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[PR #802] [MERGED] chore(ui): define version constant #1045
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#1045
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/certimate-go/certimate/pull/802
Author: @PBK-B
Created: 6/16/2025
Status: ✅ Merged
Merged: 6/22/2025
Merged by: @fudiwei
Base:
main← Head:bin/chore_define_version📝 Commits (6)
ab54a8fchore(ui): define version constantf9dfbafchore(ui): version number obtains compatible non-git environments, supports .env file configeaf71e9build: set fallback app version to "v0.0.0-dev"7773c83fix: remove the--alwaysparameter, add skip git tag version to get logic20944befix: vite useloadEnvapic2d6966Update version.ts📊 Changes
3 files changed (+40 additions, -18 deletions)
View changed files
📝
ui/src/domain/version.ts(+3 -1)📝
ui/types/vite-env.d.ts(+1 -0)📝
ui/vite.config.ts(+36 -17)📄 Description
通过获取 git tag 并配置 vite define
__APP_VERSION__在编译时生成版本号TBR; @usual2970 @fudiwei
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.