diff --git a/.drone1.yml b/.drone1.yml index 7dabf364ee1..83a82be8b70 100644 --- a/.drone1.yml +++ b/.drone1.yml @@ -406,7 +406,7 @@ steps: path_style: true strip_prefix: dist/zip/ source: dist/zip/* - target: /api/main/ + target: /api/unstable/ when: branch: - main diff --git a/magefile.go b/magefile.go index 3b62a535b8b..4dc207ec7b2 100644 --- a/magefile.go +++ b/magefile.go @@ -52,9 +52,9 @@ var ( Ldflags = "" Tags = "" VersionNumber = "dev" - Version = "master" // This holds the built version, master by default, when building from a tag or release branch, their name + Version = "unstable" // This holds the built version, unstable by default, when building from a tag or release branch, their name BinLocation = "" - PkgVersion = "master" + PkgVersion = "unstable" ApiPackages = []string{} RootPath = "" GoFiles = []string{} @@ -101,7 +101,7 @@ func setBinLocation() { } func setPkgVersion() { - if Version == "master" { + if Version == "unstable" { PkgVersion = VersionNumber } }