Skip to content

Commit 97c7f9d

Browse files
committed
Remove broken bintray migration for cuba-cli.
1 parent 9bcad25 commit 97c7f9d

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

src/main/scala/io/sdkman/changelogs/CubaCliMigrations.scala

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,53 +6,12 @@ import com.mongodb.client.MongoDatabase
66
@ChangeLog(order = "014")
77
class CubaCliMigrations {
88

9-
@ChangeSet(
10-
order = "001",
11-
id = "001_add_cubacli_candidate",
12-
author = "jreznot"
13-
)
14-
def migration001(implicit db: MongoDatabase) = {
15-
Candidate(
16-
candidate = "cuba-cli",
17-
name = "CUBA CLI",
18-
description =
19-
"CUBA CLI is an open source command line utility that enables you to easily create projects based on CUBA Platform",
20-
websiteUrl = "https://cuba-platform.com",
21-
distribution = "PLATFORM_SPECIFIC"
22-
).insert()
23-
24-
List(
25-
Version(
26-
candidate = "cuba-cli",
27-
version = "1.0.1",
28-
url =
29-
"https://cuba-platform.bintray.com/tools/cuba-cli/1.0.1/cuba-cli-1.0.1-linux.zip",
30-
platform = Linux64
31-
),
32-
Version(
33-
candidate = "cuba-cli",
34-
version = "1.0.1",
35-
url =
36-
"https://cuba-platform.bintray.com/tools/cuba-cli/1.0.1/cuba-cli-1.0.1-macos.zip",
37-
platform = MacOSX
38-
),
39-
Version(
40-
candidate = "cuba-cli",
41-
version = "1.0.1",
42-
url =
43-
"https://cuba-platform.bintray.com/tools/cuba-cli/1.0.1/cuba-cli-1.0.1-windows.zip",
44-
platform = Windows
45-
)
46-
).validate()
47-
.insert()
48-
}
49-
509
@ChangeSet(
5110
order = "002",
5211
id = "002_change_versions_urls",
5312
author = "torquemada163"
5413
)
55-
def migration002(implicit db: MongoDatabase) =
14+
def migration002(implicit db: MongoDatabase): Unit =
5615
Seq("1.0.1", "1.0.2", "1.0.3", "2.0.1", "2.0.2", "2.0.3", "2.0.4", "2.1.0")
5716
.foreach { version =>
5817
removeVersion("cuba", version)

0 commit comments

Comments
 (0)