Add docs for updating josh-sync version in Nix devenv
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -165,6 +165,34 @@ SUBREPO_SSH_KEY="-----BEGIN OPENSSH PRIVATE KEY-----
|
|||||||
# AUTH_REPO_TOKEN=<auth-specific-token>
|
# AUTH_REPO_TOKEN=<auth-specific-token>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Updating josh-sync in devenv
|
||||||
|
|
||||||
|
To update to the latest version:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
devenv update josh-sync
|
||||||
|
```
|
||||||
|
|
||||||
|
Or with plain Nix flakes:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix flake lock --update-input josh-sync
|
||||||
|
```
|
||||||
|
|
||||||
|
To pin to a specific version, use a tag ref in `devenv.yaml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
josh-sync:
|
||||||
|
url: git+https://your-gitea.example.com/org/josh-sync?ref=v1.1
|
||||||
|
flake: true
|
||||||
|
```
|
||||||
|
|
||||||
|
After updating, verify the version:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
josh-sync --version
|
||||||
|
```
|
||||||
|
|
||||||
### Option B: Manual installation
|
### Option B: Manual installation
|
||||||
|
|
||||||
Install the required tools, then either:
|
Install the required tools, then either:
|
||||||
|
|||||||
Reference in New Issue
Block a user