Remove cursor-release.nix and integrate its content into flake.nix for better management of version and architecture-specific sources.
Update Cursor Version / update-cursor (push) Failing after 3m22s
Update Cursor Version / update-cursor (push) Failing after 3m22s
This commit is contained in:
@@ -75,11 +75,11 @@ To update to a specific version:
|
||||
## How It Works
|
||||
|
||||
### Automatic Updates
|
||||
The CI workflow in `.github/workflows/update-cursor.yml` runs daily and:
|
||||
In CI (or manually), `./update-cursor.sh` can be run daily and:
|
||||
1. Checks Cursor's API for the latest version
|
||||
2. Only updates if a new version is available
|
||||
3. Downloads the AppImage and calculates SHA256 hash
|
||||
4. Updates `cursor-release.nix` with the new version and **per-architecture hashes** (`x86_64-linux` + `aarch64-linux`)
|
||||
4. Updates the managed block in `flake.nix` with the new version and **per-architecture sources** (`x86_64-linux` + `aarch64-linux`)
|
||||
5. Tests the build and commits changes
|
||||
6. Pushes the update back to the repository
|
||||
|
||||
|
||||
Reference in New Issue
Block a user