bump version [CI SKIP]
This commit is contained in:
parent
fabd2670f5
commit
316217a81d
3 changed files with 3 additions and 3 deletions
|
@ -198,7 +198,7 @@ type (
|
||||||
// Runner provides the runner configuration.
|
// Runner provides the runner configuration.
|
||||||
Runner struct {
|
Runner struct {
|
||||||
Local bool `envconfig:"DRONE_RUNNER_LOCAL"`
|
Local bool `envconfig:"DRONE_RUNNER_LOCAL"`
|
||||||
Image string `envconfig:"DRONE_RUNNER_IMAGE" default:"drone/controller:1.0.0-rc.6"`
|
Image string `envconfig:"DRONE_RUNNER_IMAGE" default:"drone/controller:1.0.0"`
|
||||||
Platform string `envconfig:"DRONE_RUNNER_PLATFORM" default:"linux/amd64"`
|
Platform string `envconfig:"DRONE_RUNNER_PLATFORM" default:"linux/amd64"`
|
||||||
OS string `envconfig:"DRONE_RUNNER_OS"`
|
OS string `envconfig:"DRONE_RUNNER_OS"`
|
||||||
Arch string `envconfig:"DRONE_RUNNER_ARCH"`
|
Arch string `envconfig:"DRONE_RUNNER_ARCH"`
|
||||||
|
|
|
@ -29,7 +29,7 @@ var (
|
||||||
// VersionPatch is for backwards-compatible bug fixes.
|
// VersionPatch is for backwards-compatible bug fixes.
|
||||||
VersionPatch int64
|
VersionPatch int64
|
||||||
// VersionPre indicates prerelease.
|
// VersionPre indicates prerelease.
|
||||||
VersionPre = "rc.6"
|
VersionPre = ""
|
||||||
// VersionDev indicates development branch. Releases will be empty string.
|
// VersionDev indicates development branch. Releases will be empty string.
|
||||||
VersionDev string
|
VersionDev string
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,7 +9,7 @@ package version
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|
||||||
func TestVersion(t *testing.T) {
|
func TestVersion(t *testing.T) {
|
||||||
if got, want := Version.String(), "1.0.0-rc.6"; got != want {
|
if got, want := Version.String(), "1.0.0"; got != want {
|
||||||
t.Errorf("Want version %s, got %s", want, got)
|
t.Errorf("Want version %s, got %s", want, got)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue