We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642ca03 commit 1c09117Copy full SHA for 1c09117
lib/publish.js
@@ -113,8 +113,7 @@ export default async (pluginConfig, context) => {
113
// Upload generic packages
114
const encodedVersion = encodeURIComponent(version);
115
const encodedPackageName = encodeURIComponent(packageName);
116
- const fileName = pathlib.basename(path);
117
- const encodedLabel = encodeURIComponent(label ?? fileName);
+ const encodedLabel = encodeURIComponent(label);
118
// https://docs.gitlab.com/ee/user/packages/generic_packages/#publish-a-package-file
119
uploadEndpoint = urlJoin(
120
projectApiUrl,
0 commit comments