Skip to content

Commit 4496f52

Browse files
committed
Use proper configuration key
1 parent c9fa05e commit 4496f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/dataset/publish/gitlab/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function publish({
2020
let projectId = null;
2121
const gitlabAPIUrl = config.get('@opentermsarchive/engine.dataset.apiBaseURL');
2222

23-
const [ owner, repo ] = new URL(config.get('@opentermsarchive/engine.dataset.versionsRepositoryURLGitLab'))
23+
const [ owner, repo ] = new URL(config.get('@opentermsarchive/engine.dataset.versionsRepositoryURL'))
2424
.pathname
2525
.split('/')
2626
.filter(Boolean);
@@ -101,7 +101,7 @@ export default async function publish({
101101
logger.debug(`package file id: ${packageFilesId}`);
102102

103103
// use the package id to build the download url for the release
104-
const publishedPackageUrl = `${config.get('@opentermsarchive/engine.dataset.versionsRepositoryURLGitLab')}/-/package_files/${packageFilesId}/download`;
104+
const publishedPackageUrl = `${config.get('@opentermsarchive/engine.dataset.versionsRepositoryURL')}/-/package_files/${packageFilesId}/download`;
105105

106106
// Create the release and link the package
107107
const formData = new FormData();

0 commit comments

Comments
 (0)