Add omarchy CLI (#5477)
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
co-authored by
David Heinemeier Hansson
parent
cdb9694360
commit
d2a4cc0c4d
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get remote tag
|
||||
# omarchy:summary=Get remote tag
|
||||
|
||||
latest_tag=$(git -C "$OMARCHY_PATH" ls-remote --tags origin | grep -v "{}" | awk '{print $2}' | sed 's#refs/tags/##' | sort -V | tail -n 1)
|
||||
if [[ -z $latest_tag ]]; then
|
||||
echo "Error: Could not retrieve latest tag."
|
||||
|
||||
Reference in New Issue
Block a user