fix(updater): resolve PkgVersion duplicate declaration
Remove var PkgVersion from updater.go since go generate creates const PkgVersion in version.go. Track version.go in git to ensure builds work without running go generate first. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
27cfa6f697
commit
c7d375aaee
2 changed files with 5 additions and 1 deletions
1
internal/cmd/updater/.gitignore
vendored
1
internal/cmd/updater/.gitignore
vendored
|
|
@ -1,6 +1,5 @@
|
|||
# Go
|
||||
updater
|
||||
version.go
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
|
|
|
|||
5
internal/cmd/updater/version.go
Normal file
5
internal/cmd/updater/version.go
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
package updater
|
||||
|
||||
// Generated by go:generate. DO NOT EDIT.
|
||||
|
||||
const PkgVersion = "1.2.3"
|
||||
Loading…
Add table
Reference in a new issue