Skip to content

Commit

Permalink
chore(misc): remove double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Mar 4, 2024
1 parent a99f22e commit 12acf24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ jobs:
repo: context.repo.repo,
pull_number: ${{ github.event.inputs.pr }},
});
console.log(`Fetched PR details: ${pr.data.head.ref}`);
return pr.data.head.ref;
const branchRef = pr.data.head.ref.replace(/"/g, ''); // Remove double quotes
console.log(`Fetched PR branch name: ${branchRef}`);
return branchRef;
- name: Generate version string for PR release
if: github.event.inputs.pr
Expand Down

0 comments on commit 12acf24

Please sign in to comment.