stytchauth / stytch-go

Official Stytch Backend SDK for Go
MIT License
47 stars 10 forks source link

Publish release whenever version.go is updated #125

Closed logan-stytch closed 1 year ago

logan-stytch commented 1 year ago

Auto-publish release when version.go is updated

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.