Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sources:
title: Hypercerts API changelog
repo: hypercerts-org/api
ref: main
path: api/CHANGELOG.md
path: happyview-modules/CHANGELOG.md
trackRelease: true
releaseTagPrefix: '@hypercerts-org/hypercerts-api@'

Expand Down
2 changes: 1 addition & 1 deletion test/external-docs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ test('configures API releases from the package changelog and scoped tag', () =>
title: 'Hypercerts API changelog',
repo: 'hypercerts-org/api',
ref: 'main',
path: 'api/CHANGELOG.md',
path: 'happyview-modules/CHANGELOG.md',
trackRelease: true,
releaseTagPrefix: '@hypercerts-org/hypercerts-api@',
});
Expand Down
4 changes: 2 additions & 2 deletions test/releases.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function sources() {
id: component.sourceId,
repo: `hypercerts-org/${component.id}`,
ref: 'main',
path: component.id === 'api' ? 'api/CHANGELOG.md' : 'CHANGELOG.md',
path: component.id === 'api' ? 'happyview-modules/CHANGELOG.md' : 'CHANGELOG.md',
trackRelease: true,
...(component.id === 'api' ? { releaseTagPrefix: '@hypercerts-org/hypercerts-api@' } : {}),
release: component.id === 'relay' ? null : {
Expand All @@ -35,7 +35,7 @@ test('component versions are independent of the protocol line and missing releas
assert.equal(byId.api.version, '0.1.0');
assert.equal(byId.api.label, 'v0.1.0');
assert.equal(byId.api.releaseUrl, 'https://github.com/hypercerts-org/api/releases/tag/%40hypercerts-org%2Fhypercerts-api%400.1.0');
assert.equal(byId.api.changelogUrl, 'https://github.com/hypercerts-org/api/blob/main/api/CHANGELOG.md');
assert.equal(byId.api.changelogUrl, 'https://github.com/hypercerts-org/api/blob/main/happyview-modules/CHANGELOG.md');
for (const id of ['sdk', 'entryway', 'relay']) {
assert.equal(byId[id].version, null);
assert.equal(byId[id].label, 'Under development');
Expand Down
Loading