Moves APIVersion from config/config.go to config/version.go, but within the same package so no imports need to change.
The reason why we move version.go into its own file is that we detect a release by this version being updated. The only reason to ever modify version.go is to update the version, but config.go could reasonably be updated for other changes when someone doesn't wish to release a new version.
Auto-publish release when version.go is updated
Moves APIVersion from
config/config.go
toconfig/version.go
, but within the same package so no imports need to change.The reason why we move
version.go
into its own file is that we detect a release by this version being updated. The only reason to ever modifyversion.go
is to update the version, butconfig.go
could reasonably be updated for other changes when someone doesn't wish to release a new version.