Closed ALRubinger closed 5 years ago
Ah; I see - this needs to be run from inside fabric8-launcher/launcher-openshift-templates
working copy to use --latest
. Is this the intended behaviour?
Ah... hmmmm... before there were only two options "--remote" (the default) that retrieves it directly from the GH repo. And "--local" that uses the local file for when you run it from within the local working copy.
Making two versions for "--latest" where one is remote and one is local doesn't seem very useful , right?
We could perhaps detect if we're being used with a curl command (how? by seeing that the script is not coming from a file but form a pipe perhaps?) and change the behaviour depending on that... or we just hard-code "--latest" to always use the remote GH repo... opinions?
Ok, implemented what I suggested first, so your command should now work @ALRubinger
Ran:
User error or something in
--latest
?