Skip to content

Commit 0619d9d

Browse files
committed
fix: keep immutable index signature self-contained
1 parent 7a3305c commit 0619d9d

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/publish-connector-release-index.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
CONNECTOR_SOURCE_COMMIT: ${{ steps.meta.outputs.source_commit }}
4949
CONNECTOR_SOURCE_TAG: main
5050
CONNECTOR_RELEASE_TAG: ${{ steps.meta.outputs.immutable_release_tag }}
51-
CONNECTOR_LATEST_RELEASE_TAG: ${{ steps.meta.outputs.latest_release_tag }}
5251
CONNECTOR_RELEASE_ID: ${{ steps.meta.outputs.release_id }}
5352
CONNECTOR_USE_RELEASE_ASSETS: "1"
5453
CONNECTOR_ENABLE_SIGSTORE_METADATA: "1"

scripts/generate-connector-index.mjs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,12 @@ function resolveReleaseMetadata(sourceCommit) {
5555
const releaseTag =
5656
process.env.CONNECTOR_RELEASE_TAG?.trim() ||
5757
`connectors-${sourceCommit.slice(0, 12)}`;
58-
const latestReleaseTag =
59-
process.env.CONNECTOR_LATEST_RELEASE_TAG?.trim() || "connectors-latest";
6058
const releaseId =
6159
process.env.CONNECTOR_RELEASE_ID?.trim() || releaseTag;
6260
const repo = process.env.GITHUB_REPOSITORY?.trim() || "vana-com/data-connectors";
6361

6462
return {
6563
releaseTag,
66-
latestReleaseTag,
6764
releaseId,
6865
repo,
6966
};
@@ -259,13 +256,7 @@ function main() {
259256
sourceRepo: "https://github.com/vana-com/data-connectors",
260257
generatedAt: registry.lastUpdated ?? new Date().toISOString(),
261258
signature: buildSigstoreBundleMetadata(
262-
"connector-index.json.sigstore.json",
263-
buildArtifactUrl({
264-
artifactRelativePath: "connector-index.json.sigstore.json",
265-
releaseTag: releaseMetadata.latestReleaseTag,
266-
repo: releaseMetadata.repo,
267-
sourceCommit,
268-
})
259+
"connector-index.json.sigstore.json"
269260
),
270261
connectors: {},
271262
};

0 commit comments

Comments
 (0)