Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
fix(publishing): add @ sign before basic auth credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Orlov committed Mar 1, 2020
1 parent 0451413 commit bcafa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/publish-tag-if-required.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function publishTagIfRequired({ intermediate }: SemanticsCtx) {

const origin = execSync('git config --get remote.origin.url', { encoding: 'utf8' });

const accessibleRemote = origin.replace('https://', 'https://${intermediate.user}:${intermediate.password}');
const accessibleRemote = origin.replace('https://', `https://${intermediate.user}:${intermediate.password}@`);

execSync(accessibleRemote);

Expand Down

0 comments on commit bcafa09

Please sign in to comment.