mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
* 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
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"
|
|
)
|