diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2571de2..b3d23b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,10 @@ jobs: #!/usr/bin/env bash set -euo pipefail - current_version=$(jq -r '.version' vss-extension.json) + current_version=$(\ + npm exec tfx extension show --publisher JamieMagee --extension-id scorecard --trace-level none | \ + jq -r '.versions[0].version' \ + ) version_parts=(${current_version//./ }) case "${{ github.event.inputs.bump }}" in major) diff --git a/package.json b/package.json index f73044b..6eefaf5 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "node esbuild.mjs", "lint": "biome check --write ./src", "format": "biome format --write ./src", - "package": "tfx extension create --rev-version", + "package": "tfx extension create", "publish": "tfx extension publish" }, "engines": { diff --git a/src/task.json b/src/task.json index 33d0476..696be37 100644 --- a/src/task.json +++ b/src/task.json @@ -10,7 +10,7 @@ "version": { "Major": 0, "Minor": 0, - "Patch": 2 + "Patch": 1 }, "instanceNameFormat": "Run OSSF Scorecard", "inputs": [ diff --git a/vss-extension.json b/vss-extension.json index b65a57d..488beb0 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -3,7 +3,7 @@ "manifestVersion": 1, "id": "scorecard", "name": "OSSF Scorecard", - "version": "0.0.13", + "version": "0.0.0", "public": false, "publisher": "JamieMagee", "targets": [