diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2014-08-29 23:18:45 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-01 10:35:16 +0100 |
commit | 864dff6aa72615a85e3c7180cfd65cacb66867da (patch) | |
tree | 8ba3dea5b0ba8143afda9b549a1f0e232cbbddf7 /yarns/implementations.yarn | |
parent | 5c90ccfd74d28d817fab50079f0233cd8a555d3a (diff) | |
download | morph-864dff6aa72615a85e3c7180cfd65cacb66867da.tar.gz |
Add `morph upgrade` command, deprecate `morph deploy --upgrade`
The arguments to `morph deploy` can get quite long, any way we can make it
shorter and clearer is useful. We can also avoid having the strange
--no-upgrade flag in future.
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r-- | yarns/implementations.yarn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 422c2eea..52eee01d 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -692,7 +692,7 @@ them, so they can be added to the end of the implements section. IMPLEMENTS WHEN the user (attempts to upgrade|upgrades) the (system|cluster) (\S+) in branch (\S+)( with options (.*))? cd "$DATADIR/workspace/$MATCH_4" - set -- deploy --upgrade "$MATCH_3" + set -- upgrade "$MATCH_3" if [ "$MATCH_5" != '' ]; then # eval used so word splitting in the text is preserved eval set -- '"$@"' $MATCH_6 |