Add runtime version reporting
This commit is contained in:
7
internal/versioncontract/injection.go
Normal file
7
internal/versioncontract/injection.go
Normal file
@@ -0,0 +1,7 @@
|
||||
// Package versioncontract holds the internal contract shared by runtime
|
||||
// version reporting and the release builder.
|
||||
package versioncontract
|
||||
|
||||
// InjectedVersionLinkerSymbol is the -X linker target used to set the runtime
|
||||
// version. Keep it in sync with runtimeinfo.injectedVersion.
|
||||
const InjectedVersionLinkerSymbol = "gitea.maximumdirect.net/eric/ReleaseKit/internal/runtimeinfo.injectedVersion"
|
||||
Reference in New Issue
Block a user