# 3.Version

## Fixed Version

```yaml
pkgver: "1.2.3"
```

Set a fixed version. `x_exec.pkgver` is still used to check for updates.

## Dynamic Version

Omit `pkgver` to always fetch from `x_exec.pkgver`:

```yaml
x_exec:
  pkgver: |
    curl -qfsSL "https://api.github.com/repos/owner/repo/releases/latest" | jq -r '.tag_name'
```

## Rolling Builds

For packages without versioned releases (nightly, git HEAD, etc.):

```yaml
_rolling: true
x_exec:
  pkgver: |
    echo "nightly-$(date +%Y%m%d)"
```

`_rolling: true` marks the package for periodic rebuilds regardless of version changes.
