AX-2162: Document Cursor install, verify, and recovery #72
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) JFrog Ltd. 2026 | |
| name: Validate version | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # This repo has two manifests that both carry the version: the plugin's own | |
| # plugins/jfrog/.cursor-plugin/plugin.json, and .cursor-plugin/marketplace.json which | |
| # Cursor's marketplace reads. plugin.json is canonical; this check keeps marketplace.json | |
| # in step with it so a release can't ship two different version numbers. | |
| - name: Check version consistency | |
| run: | | |
| set -euo pipefail | |
| VERSION=$(jq -er '.version' plugins/jfrog/.cursor-plugin/plugin.json) | |
| MARKET_VERSION=$(jq -er '.metadata.version' .cursor-plugin/marketplace.json) | |
| if [ "$VERSION" != "$MARKET_VERSION" ]; then | |
| echo "::error::Version mismatch: plugins/jfrog/.cursor-plugin/plugin.json is $VERSION but .cursor-plugin/marketplace.json .metadata.version is $MARKET_VERSION" | |
| exit 1 | |
| fi | |
| echo "Versions consistent: $VERSION" |