You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, these two attributes can easily cause confusion in their use.
I think ifGitSHA -> UseGitSHA cannot allow existing users to upgrade smoothly.
Therefore it may be a more friendly design to remove the impact of ifGitSHA on ifShortSHA (that is, you can enable ShortSHA by only setting ifShortSHA: true).
According to this, the priority of the modified version field will be: command > ifShortSHA > ifGitSHA > version.
vite-plugin-version-mark/src/plugins/core/main.ts
Line 67 in 7d98356
如果我想使用
ifShortSHA
那我必须在使用之前设置ifGitSHA: true
是否考虑
ifGitSHA
->UseGitSHA?
The text was updated successfully, but these errors were encountered: