29bb039c94
* Move publish-packages command over from
* Fix lint
* Move grafanacom command to OSS
* Add GetLatestMainBuild to gsutil
* Fix lint
* More lint fixes
* Add tests for grafanacom
* Fix lint
(cherry picked from commit 947838cca0)
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
27 lines
577 B
Go
27 lines
577 B
Go
package config
|
|
|
|
// VersionMode defines the source event that created a release or published version
|
|
type VersionMode string
|
|
|
|
const (
|
|
MainMode VersionMode = "main"
|
|
TagMode VersionMode = "release"
|
|
ReleaseBranchMode VersionMode = "branch"
|
|
PullRequestMode VersionMode = "pull_request"
|
|
CustomMode VersionMode = "custom"
|
|
CronjobMode VersionMode = "cron"
|
|
)
|
|
|
|
const (
|
|
Tag = "tag"
|
|
PullRequest = "pull_request"
|
|
Push = "push"
|
|
Custom = "custom"
|
|
Promote = "promote"
|
|
Cronjob = "cron"
|
|
)
|
|
|
|
const (
|
|
MainBranch = "main"
|
|
)
|