-
Notifications
You must be signed in to change notification settings - Fork 133
Add CUBA CLI migrations #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| version = "1.0.1", | ||
| url = "https://bintray.com/cuba-platform/tools/download_file?file_path=cuba-cli%2F1.0.1%2Fcuba-cli-1.0.1-linux.zip", | ||
| platform = Linux64 | ||
| ).insert() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you validate all your versions too please? Version and List[Version] both have extension methods for both insert() and validate(), so you could wrap all your versions up in a list and then call insert().validate() on the collection. Here's an example:
https://github.com/sdkman/sdkman-db-migrations/blob/master/src/main/scala/io/sdkman/changelogs/JavaMigrations.scala#L295
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
I've made some minor tweaks: I've changed the name to be |
|
Thanks, what is next required for installation through sdk ? |
|
Simply run the following: $ sdk update
# open a new terminal
$ sdk ls cuba
$ sdk install cuba
$ cuba-cli
... |
|
Did you open the new terminal? I tested it and it works fine.
…On Thu, 9 Aug 2018 at 12:39 Yuriy Artamonov ***@***.***> wrote:
Seems that not that fast )
***@***.***:~$ sdk update
Adding new candidates(s): cuba
Please open a new terminal now...
***@***.***:~$ sdk install cuba
Stop! cuba is not a valid candidate.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAI0BtI6JWbsWbiZ2ixIieQRBYRTDvKSks5uPB99gaJpZM4V1RQw>
.
|
|
You are so fast! Already figured out my problem and removed the message right before your answer. |
|
:-)
…On Thu, 9 Aug 2018 at 13:04 Yuriy Artamonov ***@***.***> wrote:
You are so fast! Already figured out my problem and removed the message
right before your answer.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAI0Bv1iKJqUDJDioTun5JQh5Hy617eoks5uPCVTgaJpZM4V1RQw>
.
|
I've added the CUBA CLI migrations to make
cuba-cliutil available on the sdkman. For now, we distribute ZIP archive for Linux / Windows / Mac OS and its is platform specific archive.