Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .centy/.centy-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"centyVersion": "0.1.0",
"centyVersion": "0.4.0",
"createdAt": "2026-02-05T19:53:31.935069+00:00",
"updatedAt": "2026-02-05T20:17:38.081217+00:00"
"updatedAt": "2026-02-15T16:05:10.522038+00:00"
}
18 changes: 7 additions & 11 deletions .centy/config.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
{
"version": "0.1.0",
"priorityLevels": 3,
"customFields": [],
"defaults": {},
"allowedStates": [
"open",
"in-progress",
"closed"
],
"customFields": [],
"defaultState": "open",
"stateColors": {},
"defaults": {},
"hooks": [],
"priorityColors": {},
"llm": {
"autoCloseOnComplete": false,
"updateStatusOnStart": true,
"allowDirectEdits": false,
"defaultWorkspaceMode": 0
}
"priorityLevels": 3,
"stateColors": {},
"version": "0.1.0",
"workspace.updateStatusOnOpen": true
}
4 changes: 2 additions & 2 deletions .centy/issues/4e567375-8889-4b11-9265-fc6d944b8bae.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
displayNumber: 4
status: open
status: closed
priority: 1
createdAt: 2026-02-15T12:00:39.132475+00:00
updatedAt: 2026-02-15T12:00:39.132475+00:00
updatedAt: 2026-02-15T16:05:10.521455+00:00
---

# Only install pre-release versions when explicitly requested via flag
Expand Down
16 changes: 14 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ main() {
detect_arch
target="${ARCH}-${OS}"

version="${1:-}"
pre_flag=""
version=""
for arg in "$@"; do
case "$arg" in
--pre) pre_flag="--pre" ;;
*) version="$arg" ;;
esac
done

if [ -z "$version" ]; then
version=$(fetch_latest_version)
fi
Expand All @@ -36,7 +44,11 @@ main() {
fi

chmod +x "$binary"
"$binary"
if [ -n "$pre_flag" ]; then
"$binary" "$pre_flag"
else
"$binary"
fi
}

detect_os() {
Expand Down
Loading