diff --git a/internal/cmd/updater/.gitignore b/internal/cmd/updater/.gitignore index eddd0225..6f586324 100644 --- a/internal/cmd/updater/.gitignore +++ b/internal/cmd/updater/.gitignore @@ -1,6 +1,5 @@ # Go updater -version.go *.exe *.exe~ *.dll diff --git a/internal/cmd/updater/updater.go b/internal/cmd/updater/updater.go index f364fa8b..69929c4a 100644 --- a/internal/cmd/updater/updater.go +++ b/internal/cmd/updater/updater.go @@ -11,9 +11,6 @@ import ( "golang.org/x/mod/semver" ) -// PkgVersion is set via ldflags -var PkgVersion = "dev" - // Version holds the current version of the application. // It is set at build time via ldflags or fallback to the version in package.json. var Version = PkgVersion diff --git a/internal/cmd/updater/version.go b/internal/cmd/updater/version.go new file mode 100644 index 00000000..3376963c --- /dev/null +++ b/internal/cmd/updater/version.go @@ -0,0 +1,5 @@ +package updater + +// Generated by go:generate. DO NOT EDIT. + +const PkgVersion = "1.2.3"