Merge pull request 'Release by itself at every merge' (#38) from ci/semantic-release into main
This commit is contained in:
commit
3490849837
1 changed files with 147 additions and 4 deletions
|
|
@ -60,8 +60,10 @@ import (
|
|||
|
||||
const defaultConfigFile = "sonda.toml"
|
||||
|
||||
// version goes into the User-Agent sent to providers.
|
||||
const version = "0.1.0"
|
||||
// version goes into the User-Agent sent to providers, and is what GET /version says. The release sets it
|
||||
// (-ldflags "-X main.version=1.2.3": see the Dockerfile and the Makefile); a build that was not made by a release says
|
||||
// "dev".
|
||||
var version = "dev"
|
||||
|
||||
// lastfmMinInterval spaces the requests to Last.fm well below its limit.
|
||||
const lastfmMinInterval = 250 * time.Millisecond
|
||||
|
|
|
|||
Loading…
Reference in a new issue