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
24 changes: 22 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,32 @@ jobs:
- name: Verify npx install path
run: |
VERSION="$(node -p "require('./package.json').version")"
npx --yes "@roastcodes/ttdash@${VERSION}" --help
EXPECTED="TTDash v${VERSION}"
for attempt in 1 2 3 4 5 6; do
OUTPUT="$(npm exec --yes --package "@roastcodes/ttdash@${VERSION}" -- ttdash --help 2>&1)" && {
printf '%s\n' "$OUTPUT"
printf '%s\n' "$OUTPUT" | grep -F "$EXPECTED" >/dev/null
exit 0
}
sleep 10
done
echo "npm exec install path did not become ready in time."
exit 1

- name: Verify bunx install path
run: |
VERSION="$(node -p "require('./package.json').version")"
bunx "@roastcodes/ttdash@${VERSION}" --help
EXPECTED="TTDash v${VERSION}"
for attempt in 1 2 3 4 5 6; do
OUTPUT="$(bunx "@roastcodes/ttdash@${VERSION}" --help 2>&1)" && {
printf '%s\n' "$OUTPUT"
printf '%s\n' "$OUTPUT" | grep -F "$EXPECTED" >/dev/null
exit 0
}
sleep 10
done
echo "bunx install path did not become ready in time."
exit 1

- name: Create GitHub release
env:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@roastcodes/ttdash",
"version": "6.1.1",
"version": "6.1.2",
"description": "Local-first dashboard and CLI for toktrack usage data",
"main": "server.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const VERSION = '6.1.1'
export const VERSION = '6.1.2'

export const MODEL_COLORS: Record<string, string> = {
'Opus 4.6': 'hsl(262, 60%, 55%)',
Expand Down
Loading