mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
28 lines
628 B
Go
28 lines
628 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"
|
|
DownstreamMode VersionMode = "downstream"
|
|
Enterprise2Mode VersionMode = "enterprise2"
|
|
CronjobMode VersionMode = "cron"
|
|
)
|
|
|
|
const (
|
|
Tag = "tag"
|
|
PullRequest = "pull_request"
|
|
Push = "push"
|
|
Custom = "custom"
|
|
Promote = "promote"
|
|
Cronjob = "cron"
|
|
)
|
|
|
|
const (
|
|
MainBranch = "main"
|
|
)
|