# Fix CLI publish using stale package.json version · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/b175d6b2a35f8b6869f981b96ceb20b2db979095)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: b175d6b2a35f8b6869f981b96ceb20b2db979095

Requested commit: b175d6b2a35f8b6869f981b96ceb20b2db979095

Commit: b175d6b2a35f8b6869f981b96ceb20b2db979095

Tree: 06d31fb703df75b0f09ab1b66b1454bd21e63559

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix CLI publish using stale package.json version

The publish_cli job was checking out the default ref instead of the
preflight commit, so it published with the pre-bump version. Add the
correct ref to checkout and a --app-version flag as a safety override.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

```

## Parents

- [c5c12aa73890f4096762bbc7a0fd8cb50bfd34fa](https://git.cafe/screen/t3code-personal/commit/c5c12aa73890f4096762bbc7a0fd8cb50bfd34fa?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/b175d6b2a35f8b6869f981b96ceb20b2db979095?format=markdown)
